Author Topic: [Axe] Bullet Proof  (Read 12977 times)

0 Members and 1 Guest are viewing this topic.

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
[Axe] Bullet Proof
« on: August 19, 2012, 06:06:05 am »
Since playing games with friends is much more fun than alone and everyone loves shooters :P, I decided to make another mini game for the 83+:

                                                  Bullet Proof

(Edit: It was actually Eiyeron who came up with the name sometime on irc, and I thought it was a nice idea. ;))

So what I wanted to do was a little, not too complicated platformer with decent physics and collision stuff playable on only one calc.
It has got a variable key configuration, so each player can choose his keys for the control of his character. It also comes with a level editor which let's you "draw" a custom map and place the spawns of the characters. It only saves one map atm in the same appvar as the keys.


Some Gameplay

The Map editor

Key configuration
(all running at 6 mHz; sorry for bad gameplay - it's Wabbitemu)

Facts & Features:
  • Pixel collisions
  • Vertical acceleration for realistic jumps
  • Stair detection
  • Health power-up to regenerate damage of 5 shots
  • Key settings
  • Map editor
  • less than 5 kb (not the current version)

Default controls (changeable):

Left:
Right:
Jump:   
Fire:
Player 1:   
<
>
^
DEL
Player 2:
Sto
2
4
LN


Next step:
  • Optimizing
  • More Power-ups, like weapons and armor (added now!)

What I've been thinking of but isn't included yet:
  • Playing via link
  • Bigger maps and scrolling


Controls of the editor:
  • Move cursor:
  • Add blocks:
  • Remove blocks:
  • Clear all:
  • Save and set spawn points:
  • Confirm spawns:
  • Display current spawn points:   
Arrow keys
F1
F2
F3
F4
2nd
F5

-> Current version


Download this version:
« Last Edit: September 19, 2012, 12:18:52 pm by MGOS »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] Bullet Proof
« Reply #1 on: August 19, 2012, 07:09:59 am »
(I'm not sure who recommended that name a while ago on irc, but I thought it was a nice idea. Tell me and I'll give you credit ;))
I think it was Eiyeron. Not sure either.

Anyway, this seems like a great project, good luck for the continuation :D

Also, great idea to put key configuration. I also did that on TinyCraft because some keys are obvious to me but others may not like it, so now, let's just everyone choose.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: [Axe] Bullet Proof
« Reply #2 on: August 19, 2012, 07:17:56 am »
Thanks Hayleia :)

when school starts in three weeks, there might be some changes my friends suggest.

Also 200th post for me  ;)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [Axe] Bullet Proof
« Reply #3 on: August 19, 2012, 09:16:44 am »
I think link play is a must for this type of game. ;) Are you going to add different types of weapons or scrolling maps?

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: [Axe] Bullet Proof
« Reply #4 on: August 19, 2012, 09:28:42 am »
I think link play is a must for this type of game. ;) Are you going to add different types of weapons or scrolling maps?

I'll probably add some more collectible power-ups like weapons and armor (faster machine gun, grenades?). Scrolling maps is only possible with one screen per player, what requires ether two calcs and link or split screen.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: [Axe] Bullet Proof
« Reply #5 on: August 20, 2012, 07:16:27 pm »
Sounds cool! Perhaps an AI? :P
* Freyaday downloaded
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: [Axe] Bullet Proof
« Reply #6 on: August 20, 2012, 07:53:59 pm »
I actually had an idea for splitscreen where you turn the calc sideways, with players opposite from each other; each half of the screen can then be used as a smaller screen.
In-progress: Graviter (...)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Axe] Bullet Proof
« Reply #7 on: August 20, 2012, 10:55:34 pm »
Looks quite nice. One thing that would be cool is if scrolling was added (assuming there was split screen, AI or linked play), so it's harder for your opponent to know where you are.
« Last Edit: August 20, 2012, 10:55:48 pm by DJ_O »

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: [Axe] Bullet Proof
« Reply #8 on: August 21, 2012, 11:14:16 am »
Update!

Added:
  • Power-up bar as indicator for collectible items (only one at a time):
  • Machine Gun (15 shots, twice as fast rate)
  • Armor (decreases before health, holds 5 shots)
  • Grenades to throw :D (hold "fire" to load, release to throw; the longer you hold, the stronger the throw; explode after 100 frames)
  • Individual sprites for the character depending on the current power-up
Changed:
  • Power-ups shouldn't appear in areas out of range (like far above the ground)
  • Minor optimization


Hadn't that much luck recording the screen shots, but I hope you get the point ;-)

Split screen with scrolling will maybe added in the next version (not too soon since I'm quite busy right now).
AI is quite difficult for this type of game I think. It'd have to calculate a way to the opponent / power ups, keep distance, shoot etc. But feel free to comment how you would do it :)


Downloads for version 0.3 (ion) and the map shown in the screen shots:

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Axe] Bullet Proof
« Reply #9 on: August 21, 2012, 12:45:04 pm »
This game is looking very good, nice job :)

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: [Axe] Bullet Proof
« Reply #10 on: August 21, 2012, 05:44:17 pm »
AI is quite difficult for this type of game I think. It'd have to calculate a way to the opponent / power ups, keep distance, shoot etc. But feel free to comment how you would do it :)
I'd have to sit down and plan it out, but I'll see what I can do about an algorithm.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: [Axe] Bullet Proof
« Reply #11 on: August 21, 2012, 10:40:16 pm »
this looks like a fantastic start, but either link play or a good AI (or both :P) and larger, scrolling maps are practically a must for this kind of thing.
* shmibs wishes you good luck =D

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: [Axe] Bullet Proof
« Reply #12 on: August 22, 2012, 10:01:44 am »
Here come a few issues with scrolling maps:
  • It needs more data; I've been thinking of four times the size of the one I already got (effectively 4x screen with 2x2 pixels); That will need a bigger save file and a bigger buffer than L3 to check collisions.
  • When there is a map bigger than the screen, the program can't do collisions on the parts which are not loaded yet. This won't be a problem for the characters, since they will always be in the middle of the screen, but for the bullets. It would cause to have each bullet load its own part of the map to check for collisions, which will - I promise - let it become quite slow on a TI-83+.
Give that a thought, and let me know if you know a way to solve it.

The rest won't be that hard I think, I actually might do the scrolling in asm.

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: [Axe] Bullet Proof
« Reply #13 on: August 22, 2012, 12:58:45 pm »
I agree that the scrolling maps will become unmanageable if you keep them 2x2 blocks. Why not make them larger, say 4x4 or 8x8, add a bit of detail, and give the environment a more comfortable look?
Also, if the entire tilemap is loaded into L3, why does the map need to be loaded again to check bullet collisions? If you're using pixel-based checks, you can easily change that to pointer-based detection to avoid the screen problems (there are plenty of tutorials on this lying around).
Good luck!
In-progress: Graviter (...)

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: [Axe] Bullet Proof
« Reply #14 on: August 22, 2012, 01:52:02 pm »
exactly this /\
checking the map data directly rather than "loading and pixel checking" will be much more feasible, and larger tiles will both cut the required map data to one half/fourth/eighth of what it is now, while playing right into axe's strength of drawing 8*8 tiles.