Go Back   ZuneBoards > Zune Discussions > Zune Games > Development Discussions

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 04-01-2009, 03:19 PM   #1 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default [ALPHA] Unfair Platformer

Hey, I'm working on a game called unfair platformer, and the base idea is a platformer that throws random things at you, meant to throw the player off and - basically tick him off !
Also, it's not tile-based.

Problem: there are black bars that appear when I move or jump. If anyone has any ideas on what that might be, I'd love to fix it. The only way it doesn't happen is if I set spritebatch to spriteblendmode.additive. Wierd.

I'm very, very open to ideas (I need 'em!)

Current ideas for walls/platforms:
-wall
-*disappearing
-*appearing
-*spike
-platform
-*moving
-your ideas here

*Can be applied to any block.

The current version is 0.1 Alpha
Unfair Platformer - Home
This version just shows the engine. You can add your own levels by text if you want. The format for the level .txt file can be found in the LoadLevel class.

Last edited by cable729; 04-01-2009 at 03:21 PM.




cable729 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 04-01-2009, 04:23 PM   #2 (permalink)
lost in paradise with rae
Support Team
Development Front
Super Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 3,132
Red Sky is a glorious beacon of lightRed Sky is a glorious beacon of lightRed Sky is a glorious beacon of light
Send a message via MSN to Red Sky Send a message via Skype™ to Red Sky
Default

What's wrong with leaving the spriteblendmode on additive?





Red Sky is offline   Reply With Quote
Old 04-01-2009, 04:27 PM   #3 (permalink)
torpedo the mothership
Development Front
Super Moderator
Expert Zuner
 
itsnotabigtruck's Avatar
 
Join Date: May 2008
Posts: 2,735
itsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant future
Awards Showcase
Elektrolik's Submissive Favorite staff member Most helpful 
Total Awards: 3
Default

Blending modes other than SpriteBlendMode.Additive don't do alpha blending IIRC. If you make sure the code isn't setting the mode to anything else anywhere, it should default to Additive.
__________________

signature by vettexl





itsnotabigtruck is offline   Reply With Quote
Old 04-01-2009, 04:34 PM   #4 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

go to world.draw and set it to additive. it blends everything and fades the colors. and some colors can't be seen. anyways, i'm updating this right now to fix some things, maybe add some falling walls.




cable729 is offline   Reply With Quote
Old 04-01-2009, 05:59 PM   #5 (permalink)
torpedo the mothership
Development Front
Super Moderator
Expert Zuner
 
itsnotabigtruck's Avatar
 
Join Date: May 2008
Posts: 2,735
itsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant futureitsnotabigtruck has a brilliant future
Awards Showcase
Elektrolik's Submissive Favorite staff member Most helpful 
Total Awards: 3
Default

Quote:
Originally Posted by cable729 View Post
go to world.draw and set it to additive. it blends everything and fades the colors. and some colors can't be seen. anyways, i'm updating this right now to fix some things, maybe add some falling walls.
?

It sounds like you need to fix your sprites to have proper alpha. Much has been said about this; I just posted in a thread about just that topic.
__________________

signature by vettexl





itsnotabigtruck is offline   Reply With Quote
Old 04-01-2009, 07:26 PM   #6 (permalink)
Experienced Member
 
Tiptup300's Avatar
 
Join Date: Apr 2008
Posts: 899
Tiptup300 has disabled reputation
Default

Theres Deferrred which is default, then Additive which just adds the colors, and then theirs alpha.



Tiptup300 is offline   Reply With Quote
Old 04-02-2009, 03:10 AM   #7 (permalink)
Development Front
Zune Guardian
 
DiNoGames's Avatar
 
Join Date: May 2008
Location: Bremen, germany
Posts: 689
DiNoGames is a name known to allDiNoGames is a name known to allDiNoGames is a name known to allDiNoGames is a name known to all
Send a message via Skype™ to DiNoGames
Awards Showcase
Trogdor's Peasant 
Total Awards: 1
Default

I guess the "bars" which appear while moving result from TFT-display latency. You make too big movement steps. You can see what I mean when you move to the edge of a "level" when the "character" does not change the relative position on the screen anymore but still it moves within the world. No bars then... Its some kind of optical illusion.
__________________

Valgard's Fate Blog







DiNoGames is offline   Reply With Quote
Old 04-02-2009, 12:56 PM   #8 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

can i get a link to the thread? i used gimp for transparency? and dirk, i'm using 30 fps, i've tried 60 and same thing. should i go up? i really don't want to go too high, because I think it will drain the zune's battery fast.

update: added falling walls, spikes, respawn, and killing. working on hud maybe...




cable729 is offline   Reply With Quote
Old 04-02-2009, 01:10 PM   #9 (permalink)
lost in paradise with rae
Support Team
Development Front
Super Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 3,132
Red Sky is a glorious beacon of lightRed Sky is a glorious beacon of lightRed Sky is a glorious beacon of light
Send a message via MSN to Red Sky Send a message via Skype™ to Red Sky
Default

I noticed a bug that if you go left at the start, you fall into nothingness and are lost from the screen.





Red Sky is offline   Reply With Quote
Old 04-02-2009, 01:42 PM   #10 (permalink)
Development Front
Zune Guardian
 
DiNoGames's Avatar
 
Join Date: May 2008
Location: Bremen, germany
Posts: 689
DiNoGames is a name known to allDiNoGames is a name known to allDiNoGames is a name known to allDiNoGames is a name known to all
Send a message via Skype™ to DiNoGames
Awards Showcase
Trogdor's Peasant 
Total Awards: 1
Default

cable: It doesn't matter what fps you try to program. The Zunes display will refresh 30 times a second at max (Gen 2).
The glitch is visible on my laptops TFT too, but I bet its not visible on a CRC monitor. Do you have one to test it?
I guess you just can't do anything to it, unless you use your squares for every entity on screen. Its the long straight sides of the rectangles that cause this visual illusion. Try a real sprite (a man or something) and it should be gone (I guess).
__________________

Valgard's Fate Blog







DiNoGames is offline   Reply With Quote
Old 04-02-2009, 04:02 PM   #11 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

yeah, the squares are there because I need some art =P

@redsky: it's alpha, so yup! it won't do that in 0.2, which will be out tonite hopefully. Also, I hope to add in-game level creating in raw text form via ZBlade Keyboard. Thanks TipTup!




cable729 is offline   Reply With Quote
Old 04-02-2009, 05:03 PM   #12 (permalink)
lost in paradise with rae
Support Team
Development Front
Super Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 3,132
Red Sky is a glorious beacon of lightRed Sky is a glorious beacon of lightRed Sky is a glorious beacon of light
Send a message via MSN to Red Sky Send a message via Skype™ to Red Sky
Default

I was just making sure you were aware of it. Trying to help you get the bugs ironed out.





Red Sky is offline   Reply With Quote
Old 04-02-2009, 06:42 PM   #13 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

Looks like a new version will have to wait. An odd bug is happening. I am assigning to a structure, and instead of keeping the value that was assigned, it changes. If I say:

BoundingBox bb = other Bounding Box

when the other bounding box changes, so does bb. This has never happened before! And I don't know why it's happening.




cable729 is offline   Reply With Quote
Old 04-02-2009, 07:11 PM   #14 (permalink)
IS PEOPLE!
Contributing Editor
Super Zuner²
 
Join Date: Nov 2008
Location: Austin, TX
Posts: 3,579
Jay2 is a jewel in the roughJay2 is a jewel in the rough
Awards Showcase
Red Sky's Bitch 
Total Awards: 1
Default

Quote:
Originally Posted by cable729 View Post
yeah, the squares are there because I need some art =P

@redsky: it's alpha, so yup! it won't do that in 0.2, which will be out tonite hopefully. Also, I hope to add in-game level creating in raw text form via ZBlade Keyboard. Thanks TipTup!
Like what type of art? I'll help with it.




Jay2 is offline   Reply With Quote
Old 04-02-2009, 07:22 PM   #15 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

I need I guess just tiles, grass, a platform, oh and those sprites I think would need to be in 4x4 spritesheet. I don't exactly know how that works, so I'll look at it, and when I figure out how to do animations, I'll let you know how to do the art. If anyone here could give me tips for animations and how the picture format should be, post here!




cable729 is offline   Reply With Quote
Old 04-02-2009, 08:13 PM   #16 (permalink)
Experienced Member
 
Tiptup300's Avatar
 
Join Date: Apr 2008
Posts: 899
Tiptup300 has disabled reputation
Default

Quote:
Originally Posted by cable729 View Post
Also, I hope to add in-game level creating in raw text form via ZBlade Keyboard. Thanks TipTup!
O.o

Really?



Tiptup300 is offline   Reply With Quote
Old 04-03-2009, 08:27 AM   #17 (permalink)
IS PEOPLE!
Contributing Editor
Super Zuner²
 
Join Date: Nov 2008
Location: Austin, TX
Posts: 3,579
Jay2 is a jewel in the roughJay2 is a jewel in the rough
Awards Showcase
Red Sky's Bitch 
Total Awards: 1
Default

Quote:
Originally Posted by cable729 View Post
I need I guess just tiles, grass, a platform, oh and those sprites I think would need to be in 4x4 spritesheet. I don't exactly know how that works, so I'll look at it, and when I figure out how to do animations, I'll let you know how to do the art. If anyone here could give me tips for animations and how the picture format should be, post here!
K. I PM'ed you some sprites that you might want to look at.




Jay2 is offline   Reply With Quote
Old 04-03-2009, 12:10 PM   #18 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

Quote:
Originally Posted by Tiptup300 View Post
O.o

Really?
Yup, super easy to incorporate with a pre-made keyboard!




cable729 is offline   Reply With Quote
Old 04-03-2009, 06:09 PM   #19 (permalink)
Experienced Member
 
Tiptup300's Avatar
 
Join Date: Apr 2008
Posts: 899
Tiptup300 has disabled reputation
Default

Quote:
Originally Posted by cable729 View Post
Yup, super easy to incorporate with a pre-made keyboard!
I just sorta think that sounds sorta horrible... Like using that keyboard as a text editor wouldn't be very fun.



Tiptup300 is offline   Reply With Quote
Old 04-04-2009, 09:49 AM   #20 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

Yes, It will just be for the alpha until i make a graphic editor. And just for testing and fun




cable729 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools