Author Topic: Bomberman  (Read 24889 times)

0 Members and 1 Guest are viewing this topic.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Bomberman
« Reply #15 on: October 17, 2010, 05:06:36 pm »
Optimization:  (not sure if this is any more efficient)  You don't need You win or Game Over stowed as a string.
The newer versions of axe can do this.
Disp "You Win"

I don't know if its any better though. (but i think it should be)

Also you should have "the Game"  Instead of "Game Over", either way, you/they lost the game.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bomberman
« Reply #16 on: October 17, 2010, 05:07:56 pm »
I don't know if its any better though. (but i think it should be)
It's not any better in the executable program, it just makes the source smaller. ;)

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Bomberman
« Reply #17 on: October 17, 2010, 05:09:16 pm »
I don't know if its any better though. (but i think it should be)
It's not any better in the executable program, it just makes the source smaller. ;)

my thought is that it wouldn't be stowed into a specific part of the memory?
Making a program to test it....
Edit: I was wrong, they were the same size... ):
« Last Edit: October 17, 2010, 05:13:31 pm by happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bomberman
« Reply #18 on: October 17, 2010, 05:10:54 pm »
I don't know if its any better though. (but i think it should be)
It's not any better in the executable program, it just makes the source smaller. ;)

my thought is that it wouldn't be stowed into a specific part of the memory?
Nope, it all compiles to the exact same thing; you could even check this if you wanted to. :)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Bomberman
« Reply #19 on: October 17, 2010, 05:13:37 pm »
You will want to store to a string if you're going to use it multiple times, though. If you include the literal string each time in the code, Axe will probably insert it into the executable twice.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Bomberman
« Reply #20 on: October 17, 2010, 08:25:54 pm »
Ah ok D:

Btw did you lose some progress or was it a recent backup?
it was the back up from "3 weeks ago" mentioned in my sig before I deleted that part.

anyway, today I managed to make The Game playable so now the AI can die, it can kill you, etc.  theres still no specials, lives, powerups, or anything special yet though.  ;)

Screenie:
its still quite buggy though.  :P
and yeah, I messed up quite a few times.  ;)
don't worry, I finally win at the end.  :P
« Last Edit: October 17, 2010, 08:27:00 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Bomberman
« Reply #21 on: October 17, 2010, 08:32:06 pm »
That looks really cool. Do you think you'll ever mask the sprites so it's not just blank behind them?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Bomberman
« Reply #22 on: October 17, 2010, 08:35:39 pm »
I'm going to do that when I have everything working correctly, then I will polish the game up.  although i may need some help at times...  ;)

which is why the lose and win messages are so messed up.  :P  and the title screens really just a placeholder I drew up in like 5 mins.

EDIT:  lol, I have my brother "beta testing" for me.  :P
« Last Edit: October 17, 2010, 09:24:27 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

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: Bomberman
« Reply #23 on: October 18, 2010, 03:29:28 am »
Looks nice!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Bomberman
« Reply #24 on: October 18, 2010, 08:38:52 am »
cool! bomberman!
Sig wipe!

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bomberman
« Reply #25 on: October 18, 2010, 05:48:15 pm »
Looks great!  Nice job! ;D

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Bomberman
« Reply #26 on: October 18, 2010, 06:23:04 pm »
That looks really cool. Do you think you'll ever mask the sprites so it's not just blank behind them?

That could probably be easy to do with the appropriate background sprite and the Pt-Change( function.
« Last Edit: October 18, 2010, 06:23:35 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

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: Bomberman
« Reply #27 on: October 18, 2010, 07:43:49 pm »
I personally just do 2 versions of my char sprite: one that is the normal character, but the pixels that are not transparent are inverted and the rest white, and then another sprite where every non-transparent pixels are black and the rest white. Display the black-filler sprite first, using Pt-On() then display the other using the same function.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Bomberman
« Reply #28 on: October 20, 2010, 01:15:42 pm »
Sorry about the lack of posts here, I sorta got into trouble the other day, so I can only post from school, and maybe get on for like 5 mins at home, so no screenies til weekends.  :(
but I figured out how to get extra variables (thanks guys!) so I managed to get mutiple enemies, and I 'm working on a version which user specified enemies.

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

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: Bomberman
« Reply #29 on: October 20, 2010, 01:23:27 pm »
I assume you got grounded? D: I hope you can get access again soon. :S

Good luck with progress and updates!