Author Topic: [Axe] DualStar  (Read 2384 times)

0 Members and 1 Guest are viewing this topic.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
[Axe] DualStar
« on: May 05, 2013, 05:22:04 am »
Hallaw people,

Yesterday I got bored and wrote this small game in 30-40 minutes :P It's a 2 players minigame, so you'll need two calcs, a link cable and a friend.

You were engaged in an epic space battle against your greatest enemy when you see that your trajectories slowly brings you in an asteroid field ... which can change direction due to gravity perturbation.

So the point of it is that you must blast each other while dodging the other's shots and the asteroids that move on the screen. Your ship fires automatically and aims the other ship, so you only have to take care of avoiding being touched by anything. On the left side of each calc you can see a line that empties slowly ; when it's empty, the asteroid field starts moving in another random direction - so try to get away of any asteroid to avoid a sudden hit.

As I said, I coded this in less than an hour, so I didn't make any menu, nor even any automatic quit :P so basically, when the game stops, the player which has "Done" written on his calc loose, and the other win. If you win, press [clear] to exit the game.

Also, I only ask to one user to press [2nd] when the two are ready. So if you press without your friend ready, press [clear] and retry. To sum up, if something goes wrong, press [clear], I inserted a [clear] key detection in all loops of the game :P

The player who hits [2nd] first will be the empty square, and the other player the black square.

It's a pixel-based detection, so you can't say "meeeeeh this hitbox is bugged" :P

Spoiler For Badly taken huge photo:

Source (DUAL.8xp) and binaries (DUALSTAR.8xp) attached.

Enjoy and as ever, share comments :)
« Last Edit: May 05, 2013, 05:24:02 am by Matrefeytontias »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] DualStar
« Reply #1 on: May 05, 2013, 05:52:26 am »
you'll need two calcs...
Got them.

...a link cable...
Got it.

...and a friend.
Awww too bad :(

JK :P

Anyway, that looks great as usual :)
However, isn't it posible to make multi-calc screenshots ? Kerm did that for a multi-calc pong, I don't know how, so I think it would be great if you could do the same here :)
(but I don't know how you would play both players on the emulator :P)
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 Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Axe] DualStar
« Reply #2 on: May 05, 2013, 05:55:41 am »
XD

It's possible, but it's so unpractical playing this game alone (even with two real calcs, I can't survive 10 seconds) I had to shoot a pic.

Offline alex99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 80
  • Rating: +9/-5
    • View Profile
    • Alexstudious
Re: [Axe] DualStar
« Reply #3 on: May 05, 2013, 07:11:21 am »
hey it´s cool i playedit with my friend in the physicsclass :P
VISIT:

www.atomsoftware.jimdo.com

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: [Axe] DualStar
« Reply #4 on: May 05, 2013, 04:27:11 pm »
Looking good, but I'd suggest implementing an AI at some point so more people can use it :P

Is it one-hit game over or might there be some sort of health bar/function?
Vy'o'us pleorsdti thl'e gjaemue

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Axe] DualStar
« Reply #5 on: May 05, 2013, 05:02:04 pm »
I didn't plan anything more than what's already done. It's just something I threw off in one hour, to improve my multiplay programming experience, mostly for fun and also because I thought I wanted to play a game like this :P

In addition, I'm awfully terrible at AI programming :P
« Last Edit: May 05, 2013, 05:02:43 pm by Matrefeytontias »

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: [Axe] DualStar
« Reply #6 on: May 05, 2013, 05:49:05 pm »
*whistles*

I'm bad at whistling...

Looks really cool. If I have time, I'll make you some screenies!
I am Bach.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [Axe] DualStar
« Reply #7 on: May 05, 2013, 05:56:00 pm »
Sounds awesome, for less than a hour O.O

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!