Omnimaga
General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: nxtboy III on March 05, 2012, 06:21:47 pm
-
Hi,
So I am making a new NXT game. It is so far just a jumping 3x3 square that jumps around. The game is in 4-lvl grayscale. The collision is checked pixel-by-pixel, by checking if a pixel is on or off.
It works like this for collision:
1) First, it turns off the refeshing of the screen
2) It draws black pixels representing solid pixels.
3) It checks if the player collides with them and saves it to a variable
4) It basically clears the screen and draws the pixels that kill the player when touched
5) It checks collision for that and saves it to a variable
6) It draws what is actually seen, and the player
7) The screen refreshing is turned back on, so you only see the last part, step 6
So the collision is pixel-by-pixel, which is less limited than what I normally use, tiles.
So the question is, where should I go with this? what should it be?
thanks, and have a nice day,
nxtboy III
-
Check out my game Seeker (in my sig) this game reminds me of it a bit. Also this sounds cool! And I am glad to hear you are continuing the NXT development!
-
It has potential for a platformer, or possibly something more complicated with RPG elements? I don't know.
Also it would be interesting to have enemies that are circular, triangle shaped etc.
-
Yeah, it will be a platformer. Thanks, saint!
And what makes the square seem alive is that it bounces slightly when you are not even moving.
-
What you could also do is put "friendly" faces on the square and enemies. It'd look funny.
EDIT: Oh I tried your game saintrunner and realised that your game does have funny faces. This was after I suggested the above. :P
-
Yeah, that would be cool. Maybe you guys could help me with level design.
-
Cool! I don't know if you have a calculator but if you do, do you know if the language is similar?
-
Yes, I have a TI-84 plus. What language are you talking about for the calc? And you want me to tell you if what I use for my NXT and what you are talking about for the calc are similar?
EDIT: The language I use to program my NXT is similar to C.
EDIT2: So what should it look like when the player dies?
-
So, I have a little explosion effect when the player dies, but I need something better. What should happen when the player dies?
Also what types of pixels should I add? Currently I have solid and killing pixels. I'm working on the enemies but they are having some scrolling issues.
-
When the player dies, you could invert the screen and freeze anything else around him to get a bit of a dramatic effect in there :D
-
Yeah, that's a good idea! What about a death screen or something?
-
So now that I have some bugs fixed, what should I add to this game? So far you are just a square who moves around and is chased by enemies. However, I am having a problem with the enemies going up slopes. Could somebody help?
Thanks. :)
-
So...does..anybody...have...ideas..or...a...death...screen?
-
Lol, erm maybe. What should the death skreen be like?
Should it say "game over" or "you died" or "You lost The Game" or whatever? What kind of objects should it show?
-
Maybe you could make a black screen, with white lines like following the lines of a body? That would be an idea for a death screen.
Or you could invert en freeze the screen like hellninjas allready said, and then after a second or three zoom in on the player or something like that.
PS: looks like it's going to be a nice game
-
PS: looks like it's going to be a nice game
Thanks. :)
So right now I have the player explode with the screen inverted. After that I want a death screen (A picture). What should that be?
Also what are some other ideas for the game? What should I add? What enemies should I add? What should they do? What would they look like?
What would the title screen look like?
-
What I still need:
So right now I have the player explode with the screen inverted. After that I want a death screen (A picture). What should that be?
Also what are some other ideas for the game? What should I add? What enemies should I add? What should they do? What would they look like?
What would the title screen look like?
I need ideas... please!
-
Does anybody have any ideas? I just really need some...(and some levels :P)
-
So we've decided it's a platform game of some sort? Maybe you could add some platforms and other things to jump on. Maybe some switches that unlock doors and other things.
I know you require more, but it's tricky right now.
EDIT: More ideas and more details, tricky for me to come up with more details right now.
-
So we've decided it's a platform game of some sort?
Yes.
Maybe you could add some platforms and other things to jump on. Maybe some switches that unlock doors and other things.
Like bouncy platforms like in GeoCore? Maybe be more specific?
I know you require more, but it's tricky right now.
What do you mean?
So, anybody else have any ideas?
-
I have now added moving platforms!! What else should I add?
Also I need some levels for the game. http://ourl.ca/15481
-
Read:
I have now added moving platforms!! What else should I add?
Also I need some levels for the game. http://ourl.ca/15481
please? help? :angel:
-
Anybody? Nobody seems to be giving any ideas... :(
-
I think it might be because of the previous game topic where it seemed you didn't want to do any work yourself (no offense), which pretty much deterred anyone (permanently) from giving anymore ideas. Sorry. But I myself don't have any right now anyway :/
If you absolutely do not want to do any art/design at all for your games, you might have to ask in another topic if somebody wants to team up with you for your future projects, else it will never be possible to get consistent ideas from people, as they are busy and stuff.
-
I think it might be because of the previous game topic where it seemed you didn't want to do any work yourself (no offense), which pretty much deterred anyone (permanently) from giving anymore ideas. Sorry. But I myself don't have any right now anyway :/
If you absolutely do not want to do any art/design at all for your games, you might have to ask in another topic if somebody wants to team up with you for your future projects, else it will never be possible to get consistent ideas from people, as they are busy and stuff.
Yeah... ok. :/
I guess I was really lazy...
Though I already made lots of stuff like moving platforms and killing pixels and it has 4-level grayscale, and other stuff for this game, but I just need more ideas.
-
So... I hear you have some progress <.<
You got gravity working? >.>
Screenie? :D
-
Yup. Now it works better.
I have added falling to where the player actually can fall more than 1 pixel at a time, without skipping collision!
Thanks to Xeda, Fishbot, and calc84maniac.
Here's a small screenie to show how it works (this is not a screenie of my game, but just an example of it in action).
(sorry it's an avi)
-
Wow, that actually moves very nicely and fast. Nice!
-
Thanks. :)
I could make it go even faster, but then it would have to check more pixels, which would be slower, so it would just look choppy. :P
This feature helps the game not seem so slow.
Does anybody have any other ideas?
-
Hehe, if you really want to challenge yourself, you could make it bounce, too. You could also add in loss of energy to make them stop bouncing at some point. Also, will they run into each other and stop?
-
Bounce?
I guess I could maybe do that... if it fits the theme
What do you mean "will they run into each other and stop?"
-
Like if one block falls on another, does it go through it or stay on top?
-
Why would a block fall? Are you talking about an enemy?
Or the player?
-
Enemies and players, sorry.
-
oh, then yes, the player collides with the enemies, because the player checks pixels for collision after the enemies are drawn.
-
Cool :D Do enemies also do this? (like if an enemy lands on an enemy)?
-
yes. All things collide, basically. :)
-
Awesome o.o I still have to test if the one I wrote in Grammer will do that (I have not added enemies). Other engines that I made never used collision detection x.x
-
Well, now the bouncing works!!
Thanks Xeda!
any more ideas, anybody?
-
So I am curious now about how well bouncing works :D I am glad to have helped :3
EDIT: For the curious, since it was discussed on IRC, to bounce, instead of making velocity==0 on impact, do -V→V. However, that will keep bouncing, so to make a dampening effect, do -V/2→V or use some other number to make a more or less dampened effect :D
-
You want to see a small example of it, as an .avi?
-
Yes :D That would indeed be cool :) (I have the others already downloaded and saved >.> )
-
Ok, here's a screenie.
Any other ideas (or maybe levels :P)?
-
Wow, that looks so much more natural, great!
-
Ya, thanks! Your a big help!
Any more ideas?
EDIT: And by the way, this makes the game seem a lot more fun (especially from falling from high heights).
-
There's NXT emulation now? O.O
-
No... I wish. :'(
It's just a utility that shows the NXT's screen on the computer.
I would show my game with that, but it makes my game look REALLY junky.
Any more ideas? I like the ones so far.
-
Oh ok you got screen capture. I didn't realize it existed for the NXT device too. I guess it's better than nothing, though. If you could have higher framerate, the AVI could possibly be edited inside VirtualDub with a motion blur effect, to look closer to the real thing.
I unfortunately do not have much idea right now, though
-
Oh ok you got screen capture. I didn't realize it existed for the NXT device too. I guess it's better than nothing, though. If you could have higher framerate, the AVI could possibly be edited inside VirtualDub with a motion blur effect, to look closer to the real thing.
Yeah. Well the thing that stinks is that the screen capture program doesn't respond to changing the display flags, so it shows stuff that is not seen on the actual NXT.
-
Yes O.O I just had a brilliantly cool idea O.O Maybe you could have floor tiles that have negative gravity o.o It would look like you were buoyant because your piece would look like it were levitating in air. Here is what you would do:
Make, say, an 8x8 region where the gravity is flipped. When you walk on it, your velocity is zero, so you will gradually float up and then possibly fly out of it into the area where gravity is normal. At this point, you would fall back down into the negative gravity and slowly come to equilibrium :D
-
I'm not sure I understand.
So like this?:
The player touches a floor tile. He starts "falling" up. Then the player goes into an area where gravity is normal, so it falls back down. Then it goes back into the negative area, and goes back up again. Then it repeats. It would look like the player is moving up and down repeatedly.
Is that right?
Also, any other ideas?
-
Yes, that is right :) Also, you can make a dampening effect, again, too, by removing velocity or dividing by a constant again, so it eventually stands still.
-
Then that would basically look like it is in water. :P
That would be a cool effect. :D
-
exactly :D And like you said on IRC, in this case, it might be okay to include the region in the source itself as opposed to in a separate pic file :) Plus, you can always use it for an idea in a future game :D
-
Yeah. So maybe you could explain a little how I would store the regions?
Like I would have them as objects, and a for-loop would go through and check each one to see if the player is inside it? But then, the more regions, the slower. :P
-
yeah, that is the best way I can think to do it, though, so maybe keep it to zero, one or two regions per level? Plus, you can make them as big or small as you want and you could even make it a tool for the user and they have only one. When you throw it, it deletes the old one and creates a new one in a different spot :)
-
yeah, I could do that.
So any more ideas (or maybe some levels...)?
-
So now that I have some bugs fixed, any more ideas?
-
I do not have any currently, but something I would like to suggest is if you ever have smooth scrolling, you might want to be careful with grayscale, because if the NXT screen is similar to the 83+, smooth scrolling grayscale will look like garbage. Usually people use frame skipping so it doesn't go higher than 6-12 FPS or they just get rid of grayscale althogether.
-
smooth scrolling? As in a platformer?
-
Games in general. I mean for example when you move around, the screen follows the character and it's the map that moves around. Smooth scrolling means that the map moves smoothly, one pixel by one, quite fast, while regular scrolling has the map scroll by chunks of 8 pixels (giving a choppy effect)
-
Yeah.
So any ideas for anything for this game?
-
Not yet sadly. I tend to have troubles getting any and inspiration lately. That goes for music making too X.x
Have you tried finding any idea yourself as well since my last posts? I am curious what they are.
-
Not really. :(
Though maybe, depending how the player dies, it could show different screens, like if they die in spikes, it could show the player being jabbed with the spikes, or if killed by enemy, it could show a cool bloody picture of the enemy killing the player.
-
Yeah that might be a good idea, although make sure to not make it too complicated at first, to get the core of the game working first, then add more features later. By the way how does health work? Do you have an energy bar or do you die instantly then lose a life?
-
I don't have that yet but the player explodes when hit by spikes. :P
-
Lol nice. But yeah try to not make it too hard if you die instantly, especially in early levels. :P
-
Yeah. :P
So what should the enemies be?
just triangles?
-
Not yet sadly. I tend to have troubles getting any and inspiration lately. That goes for music making too X.x
Here's what you can do. Remake all the musics there were posted since April 1st, 2011.
/me runs
-
Maybe you could give me an idea?
-
Guess what?
Now the scrolling grayscale has NO issues thanks to Runer112 and jacobly!!! Thank you!
Now my game is MUCH better. :D :D :D
:w00t:
-
Cool to hear. You should post a video of how it looks like :D. I wonder how it compares with calcs.
-
Like an ACTUAL video of my NXT?
I'll have to use my brother's iPod....
-
:D I'd like to see :D
-
Ya. Maybe my brother will let me use it.....
I hope. Any ideas?
-
Yeah a video (or another idea is a calcapture of the emulator (Calcapture can be found in Omni archives in the RPG section) then apply motion blur effect in VirtualDub then compress video with Movie Maker or something)
Also for your sprites you should use the pixel art sub-forum, as more people might be able to help you.
-
Here's a little screenie using turiqwalrus's level he made me.
Sorry the video is so messed up, but the capturing program I use doesn't work to well for this game, so a lot of times things are black or darker than they look on the actual NXT.
-
You used VirtualDub, right? For some reasons there are gray parts that sometimes turn black or ends up missing or maybe it's my browser's fault ???
i seem to get a rough idea of how it looks like, though. I like the ground tiles and platforms so far. By the way I see you got slopes. Were they hard to code? I heard they were for many people. Also the jumping seems nice so far.
Could you send me the video file before you added motion blur by the way (Mediafire) so I can see if I can attempt at converting it again without the glitches?
-
No, that is not your browser's fault. :P
It's because the capture program doesn't respond to when the display refreshing on the actual NXT. So the capture program shows stuff that is not seen on the actual NXT.
Can I post the gif here?
EDIT: And also I don't think moving platforms are shown in that video. I need a good level for moving platforms, because I stink at making levels. :P
EDIT2: And DJ_O, all I had to do for slopes was check pixel to the left and up 1 pixel was on/off (and if the pixel to the direct left was on). If it was off, then the player could move up.
-
Oh right, it captures directly from the device. This reminds me an issue the Casio screen receiver got, where it doesn't capture while most programs are running. The 83+ doesn't even have a capture program to capture from the device. <_<
You may post the gif, but if it's larger than 1 MB you should maybe put it on http://img.removedfromgame.com and post a link to it without img tags, so the page doesn't take too long to load.
Anyway I like how the game looks like so far. There were some parts that reminded me of Metroid, for some reasons.
-
EDIT: And also I don't think moving platforms are shown in that video. I need a good level for moving platforms, because I stink at making levels. :P
EDIT2: And DJ_O, all I had to do for slopes was check pixel to the left and up 1 pixel was on/off (and if the pixel to the direct left was on). If it was off, then the player could move up.
And here is original file.
http://img.removedfromgame.com/imgs/gamepic2nongray.gif
-
Aaah ok thanks for the file, so I guess it's definitively because on some frames some parts are not captured at all. I wonder why the gray checkerboards sometimes turn black, though? ???
The cool thing though is that we have a good idea of how it looks like, plus grayscale always look better on-calc/devices than screenshots other than WabbitEmu, anyway.
-
:P
Yeah, it turns black because a picture with black is displayed, but on the NXT it is not seen, which is good, but it shows up on the capture program. :(
So, any ideas, now that you see a screenie?
Also, any ideas for levels?