Super-Dot
Level 1
hup hup
|
 |
« on: January 13, 2009, 03:06:53 PM » |
|
Download( And here's the source, of course!) Screenshots   Platformers are all over the indiesphere! But there's no way to prototype or tweak a platformer without diving into code. Oh wait there is! Platformajigger (it really needs a better name) lets you fiddle with the basic parts of a platformer--running, jumping, scrolling, falling. What it doesn't handle is the things that make your game unique--jetpacks, eversion, charge shots, sprites even. The idea is that the level design and interactions and whatnot all depend on the basic motion of the character with respect to his environment, and this is a way to decide on that part. Draw                          
                          
                          
                          
                          
                          
                          
                          
                          
Erase                          
                          
                          
                          
                          
                          
                          
                          
                          
Move                          
                          
                          
                          
                          
                          
                          
                          
                          
Jump                          
                          
                          
                          
                          
                          
                          
                          
                          
Teleport                          
                          
                          
                          
                          
                          
                          
                          
                          
Toggle Stuff                          
                          
                          
                          
                          
                          
                          
                          
                          
Make Stuff Bigger                          
                          
                          
                          
                          
                          
                          
                          
                          
Make Stuff Smaller                          
                          
                          
                          
                          
                          
                          
                          
                          
Random Platformer                          
                          
                          
                          
                          
                          
                          
                          
                          
Copy                          
                          
                          
                          
                          
                          
                          
                          
                          
Paste                          
                          
                          
                          
                          
                          
                          
                          
                          
Here's the to-do list: faster drawing when there are lots of blocks- better randoming (look at initialize_variables in the source to see how it works now)
- MacPaint-style block drawing (where you don't need to right-click)
- underground caves (so the level doesn't stop at the bottom of the screen)
Knytt-style screen-by-screen camera- randoming of individual variables
- prettier paste format
- FPS and Zoom Level variables
jump with Shift (Z will be taken)- Mac version (might be hard or impossible; Game Maker Mac is still in beta
better sounds (is anyone here good at sfxr?)- aerial acceleration, air resistance
- hold jump to go higher
- double-jumping?
- configurable controls
- Probably more stuff
Here's what you can do: - Speak up if anything is suboptimal
- Share cool things that you or the spacebar came up with (just paste!)
- Reorder the to-do list
Finally, you guys should also check out Sparky's thing, which is cross-platform and web-based and similar!
|
|
« Last Edit: January 19, 2009, 02:36:46 AM by Super-Dot »
|
Logged
|
Kelsey Higham, student at SJSU
|
|
|
salade
|
 |
« Reply #1 on: January 13, 2009, 03:17:42 PM » |
|
this be pretty cool. one question- what do D and E control? you should also be able to control his jump speed and gravity, but it seems like that is what you mean by other variables.
sorry this became more of a feedback spiel.
|
|
|
Logged
|
|
|
|
Super-Dot
Level 1
hup hup
|
 |
« Reply #2 on: January 13, 2009, 03:22:23 PM » |
|
Sorry if that was unclear--the entire QWERTYUIOP[ row makes stuff bigger, and the entire ASDFGHJKL;' row makes stuff smaller. Jump speed is P and ;, gravity is [ and '.
E and D zoom in and out, but you can only zoom out to 1X, and you can only zoom in if your screen can accommodate it.
Feedback is favorable and encouraged and appreciated! There is no need to apologize for that which makes me happier!
|
|
« Last Edit: January 13, 2009, 03:41:48 PM by Super-Dot »
|
Logged
|
Kelsey Higham, student at SJSU
|
|
|
Loren Schmidt
|
 |
« Reply #3 on: January 13, 2009, 04:02:45 PM » |
|
I'm your number one fan. This is awesome, Super-Dot.
Hey, now that you're posting is it okay if I put the link to mine up somewhere? Would you rather that be here or the platformer physics thread?
Cheers!
|
|
|
Logged
|
|
|
|
Super-Dot
Level 1
hup hup
|
 |
« Reply #4 on: January 13, 2009, 05:40:18 PM » |
|
It was at the bottom of my megapost all small-like, but now it's all big-like. But I'm not sure if I have the right URL.
|
|
|
Logged
|
Kelsey Higham, student at SJSU
|
|
|
Loren Schmidt
|
 |
« Reply #5 on: January 13, 2009, 07:29:29 PM » |
|
Okay, thanks, I'll post a link in the platformer thread too. I'll link here as well.
This thing is fun.
|
|
|
Logged
|
|
|
|
JLJac
|
 |
« Reply #6 on: January 17, 2009, 02:44:21 AM » |
|
Nice stuff! You should set the speed vectors to 0 when holding down, as it is the white block keep accelerating while you hold him in the air, and when you release he is thrown downwards in... an incredible speed. Also, can't you put in some text fields, like in sparky's thing? When I increase or decrease variables I hear different sounds, but I don't really know what's changing. At least you could write "Speed decreased"/"Speed increased" on the screen, or just show "Speed=5" or something. 
|
|
|
Logged
|
|
|
|
Super-Dot
Level 1
hup hup
|
 |
« Reply #7 on: January 17, 2009, 05:15:11 AM » |
|
Gravity magic fixed! Game Maker doesn't have built-in editable text fields, and I don't want to clutter up the screen with text anyway. My plan is to use text-to-speech to say "acceleration" when you press an acceleration button, "gravity" when gravity, etc. But I can't do that until I'm booted into OS X and can use its text-to-speech, and that won't happen for a few days at least. If a fellow Mac user who likes the Terminal wants to accelerate the process, this should produce a folder full of delicious noises: say -v Fred -o ~/Desktop/KelseyFiles/Acceleration.aiff "acceleration" say -v Fred -o ~/Desktop/KelseyFiles/MaxSpeed.aiff "speed limit" say -v Fred -o ~/Desktop/KelseyFiles/Friction.aiff "friction" say -v Fred -o ~/Desktop/KelseyFiles/JumpingSpeed.aiff "jump speed" say -v Fred -o ~/Desktop/KelseyFiles/Gravity.aiff "gravity" say -v Fred -o ~/Desktop/KelseyFiles/Fatness.aiff "fatness" say -v Fred -o ~/Desktop/KelseyFiles/Tallness.aiff "tallness" say -v Fred -o ~/Desktop/KelseyFiles/Width.aiff "width" say -v Fred -o ~/Desktop/KelseyFiles/height.aiff "height" say -v Fred -o ~/Desktop/KelseyFiles/BlockSize.aiff "block size" say -v Fred -o ~/Desktop/KelseyFiles/ZoomLevel.aiff "zoom level" say -v Fred -o ~/Desktop/KelseyFiles/ScreenByScreen.aiff "screen-by-screen camera" say -v Fred -o ~/Desktop/KelseyFiles/ScrollingCamera.aiff "scrolling camera" say -v Fred -o ~/Desktop/KelseyFiles/Caves.aiff "underground caves enabled" say -v Fred -o ~/Desktop/KelseyFiles/NoCaves.aiff "underground caves disabled"
|
|
|
Logged
|
Kelsey Higham, student at SJSU
|
|
|
JLJac
|
 |
« Reply #8 on: January 17, 2009, 05:19:34 AM » |
|
You already have sound effects when pushing the buttons. Why no just make a recording of your voice or a voice program?
Until then you could just show a sprite at the top on the screen that says "Speed +" in red letters or something, then dissapear after a second or so.
|
|
|
Logged
|
|
|
|
Super-Dot
Level 1
hup hup
|
 |
« Reply #9 on: January 17, 2009, 05:49:35 AM » |
|
It takes longer to wait for text-to-speech, but it's a million times more efficient for me. 
|
|
|
Logged
|
Kelsey Higham, student at SJSU
|
|
|
Super-Dot
Level 1
hup hup
|
 |
« Reply #10 on: January 17, 2009, 05:55:00 PM » |
|
Better sound effects yeah! This thing is now a whole lot easier to use.
Also some bugs were fixed! And Shift works as a jump button!
|
|
|
Logged
|
Kelsey Higham, student at SJSU
|
|
|
BorisTheBrave
|
 |
« Reply #11 on: January 18, 2009, 08:23:38 AM » |
|
For this to be useful, you need to be able to recreate the same feel in other engines. So do you think you could spell out exactly how the variables contribute towards motion, i.e. a pseudocode digest of the source you've provided.
Also, it would hurt your minimalist GUI, but I'd really like to see some more parameters, before you can capture the wide range of possible platforms one sees. Like air control, or different jump patterns.
|
|
|
Logged
|
|
|
|
Super-Dot
Level 1
hup hup
|
 |
« Reply #12 on: January 19, 2009, 02:24:37 AM » |
|
FPS is 30 by default, and that's going to be configurable at some point. Every frame, Acceleration is added to the protagonist's speed if a key is held down, and Friction is subtracted from the protagonist's speed. The speed never exceeds Speed Limit. When you press the jump button, the protagonist starts moving up Jumping Speed pixels every second. Gravity is added to the downward motion every step, so the peak of the jump is when enough Gravities have been added to make the downward motion exceed the upward motion. I'd love to add other platformer behaviors, in particular variable jump height and air control intricacies, but I've unfortunately run out of keys on the keyboard. I'll add some to the (human-readable) copy-paste format, but to add them to the UI, I'll need to implement configurable controls, which could take some time. Improvements: - Drawing is really fast now, no matter how many blocks there are!
- I implemented Knytt-style screen-by-screen cameraing! Press 2 to use, and paste this for a demo:
/==HARARA MOUNTAINS==\ the level layout of Harara Mountains from Within a Deep Forest, along with a really poor approximation of Ball 1's motion
Screen-by-Screen Camera: 1 Acceleration: 3.0530527435243104 Speed Limit: 12.0000000000000000 Friction: 0.5630518563091700 Jumping Speed: 10.6152653037570016 Gravity: 0.4744035387411700 Terminal Velocity (this one gets changed every time Block Height and Width gets changed, because science): 29.0000000000000000 Protagonist's X-Position: 4634.8194858729804800 Protagonist's Y-Position: -232.4523127283800000 Protagonist's Width: 16.0000000000000000 Protagonist's Height: 16.0000000000000000 Block Height and Width (they have to be square): 24.0000000000000000 Horizontal Blocks Onscreen: 25.0000000000000000 Vertical Blocks Onscreen: 20.0000000000000000 Zoom Level: 1 FPS: 30
The President has been kidnapped by ninjas. Are you a bad enough dude to rescue the President? 8 88 8 8 88 8 88 88 8 88 88 8 88 88 8 88 88 8 88 88 8 88 88 8 88 88 8 88 88 8 88 88 8 88 88 888 8 88 88 888 8 88 88 8888 8 88 888 888888888 88 88 888 888 8888888 88 88 888 88 88 888888 88 88 888888 88 88 88 88 88 88 88 88 88 88 88 88888 88888 8888888888888888 88 88 88 88888 88888 88888 8888888888888888888 88 888 888 888 888888888888 888888 8888 8888 88 888 888 8888 888888888 888888 8888 88 888 8888888888 888 88 888 88 888 888 88888888 8888888888 888 888 88 8888 88 888 888 88888888 8888888888888888 888 88 8888888888 88 888 888 8888888 888 8888888888888888 888 88888888888888888 888 888 888 888888888 88888888 888 888888888 888 888 888 888888 888888888 88888888 88 888 888 888888 8888888 88888888 88 88888888888 888 8888 8888 888888 8888 888888888888888888888 888 8888 8888 8888 8888 88888888888888888888888 888 8888 888888888 88888888888888888888888 888 8888 888888888 88888888888 8888888 888 8888 888888888 88888888 88888 888 8888 8888 8888 888 8888 8888 8888 888 8888 8888 8888 888 8888 8888 8888 888 88888 8888 8888888 888 88888 8888 88888 888 88888 8888 88888 888 88888 8888 88888 888 88888 8888888 88 88888888 88888 88888 88 8888888888888888 88 88888888 888 88888 88888888 8888 8888888888 8888888888888888 88 88888888888 888 8888888 88888 88888 88888888 8888 8888888888 8888888888888888 88 88888888888888 888 8888888 88888 88 88888888 888888888888888888 8888888888888888 88 88888888888888 888 8888888888 8888888888888 88 88888888 88888888888888888888 888888888888888888 88888888888888 888 8888888888 8888888888888 88 8888 8888888888 88888888888888888888 88 888888888888888888 8888888888888888 888888888888 88888888888888888888888888888888 88 8888 8888888888 88888888888888888888 88 88 888888888888888888 888888888888888888888 888888888888888 88888888888888888888888888888888 88 8888 8888888888 8888888888888888888888888888888888888888888888888 888888888888888888 888888888888888888888 888888888888888 88888888888888888888888888888888 88 8888 8888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888 888888888888888888888 888888888888888 888 88888888888888888888888888888888 88 8888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88 8888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88 8888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88 888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88888888888 888888888 888 888888888888888888888888888888888888888888888888888888888888888888888888 888888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888 88 8888888888888888888888888888888888888888888888888888888888 888888888888888888888888888888888888888888888888888888888888888888888888888888888888 888888888888888888888 88 88888888888888888888888888888888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888 88888888888888 888 8888888888888888888888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888 88888888888888888 8888888888888888888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888 888888888888888888888888888888888888888888888888888888888888 88888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888 888888888888888888888888888888 8888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888 8888888888888888888888888888888888888888888 8888 88 88888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888 888888888888888888888888888888888888888888888888888888888 88 88888888888888888888888888888888888888888888888888888888888888888888888888888888888 88888888888888888888888888888888888 888888888888888888888888888888888888888888888888888888888888888888 88 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 Thank you Mario! But our princess is in another castle! \==HARARA MOUNTAINS==/ |
|
|
|
Logged
|
Kelsey Higham, student at SJSU
|
|
|
|