Author Topic: Switch  (Read 8354 times)

0 Members and 1 Guest are viewing this topic.

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
Switch
« on: January 24, 2012, 10:07:40 pm »
(split from YAMGT, a whole page is kind of big for a minigame :P)

Just now realized I never posted LightOff, the game that came just before Tio.  In fact it was originally called Tio. :P
So I fixed up the source a bit so it'll compile with the later versions of Axe (it's at least a year old XD), screenied and now yay.

Iirc at one point I got it working with grayscale...I'll have to remember how I did that.


I'm pretty sure one can get the mechanic of the game watching the screenie.  You try to turn off all the "lights" (squares).
Arrow keys move, Clear quits.

Edit: also brought the index in the first post up-to-date, it was missing projects from other threads.
« Last Edit: February 01, 2012, 11:18:52 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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: Switch
« Reply #1 on: January 26, 2012, 02:26:36 pm »
Got it :)
Also did some aesthetic stuff.

The only problem is, some games are impossible to finish because you can't turn off one single light (at least, one gray light, haven't run into one white light yet)

Put in a fix, it doesn't prevent the problem but it detects when the problem's there and automatically ends the game when appropriate. ;D
« Last Edit: January 27, 2012, 06:35:01 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Switch
« Reply #2 on: January 26, 2012, 10:36:22 pm »
Yay, you're doing minigames again :D

LightsOut looks fun (and impossible to solve O.O). Original idea?

By the way, I think you can make sure the levels you're generating are always possible by starting with a solved slate and working backwards.
« Last Edit: January 26, 2012, 10:36:29 pm by Deep Thought »




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: Switch
« Reply #3 on: January 26, 2012, 11:06:20 pm »
Iirc the original idea came when I was screwing with a sprite editor and bugged it, to similar results :P

I've been thinking, because I've been kind of de-motivated with SCB fsr so maybe I could clean up some of the old games, ReadmeRoll and put them on ticalc and omni :)
(hopefully coming back to SCB afterwards to make some more progress ofc)
« Last Edit: January 27, 2012, 12:07:07 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Switch
« Reply #4 on: January 27, 2012, 07:42:58 pm »
It's always nice to take a break from the big projects and finish up some stuff here and there :)




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: Switch
« Reply #5 on: January 27, 2012, 07:50:30 pm »
It sure is :)

I'm putting together a readme for LightOut, and am getting some ideas...
Just need to see how hard it is to implement 2-, 3- and 4-scale as different difficulties then optimize the whole thing for size.
Also getting menu ideas ^.^


Edit: just searched ticalc and wow there's a whole slew of programs named light out :crazy:
Looking for a unique name, tho maybe "Switch" will do?

Edit2: don't see any/many so Switch it is :D
« Last Edit: January 27, 2012, 07:54:20 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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: Switch
« Reply #6 on: January 28, 2012, 02:05:36 pm »
...and a menu concept.  Yes, the scores are random :P
At first I was doing some vanilla menu with Easy, Medium and Hard but then this came to mind, playing on the light concept.

Also, watch the word on top ;)
« Last Edit: January 28, 2012, 02:14:28 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Switch
« Reply #7 on: January 28, 2012, 04:41:03 pm »
wow, it changes the greyscale too (the title), very nice :) and it's very original to make a difficulty setting like this one, it's special.. really great
« Last Edit: January 28, 2012, 04:41:22 pm by Nick »

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: Switch
« Reply #8 on: January 28, 2012, 04:51:15 pm »
It takes too long to finish the screen. :/
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

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: Switch
« Reply #9 on: January 28, 2012, 04:54:26 pm »
Yeah, I'm planning on doing different types.  Black/white (such as a few replies back) shouldn't take very long, but I kind of designed the other to be a puzzle game that would take a while to finish. ;)

Edit: I guess it's worth mentioning that I plan on having the three different types in one game, tho the menu already shows that. :P
« Last Edit: January 28, 2012, 05:08:15 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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: Switch
« Reply #10 on: January 29, 2012, 08:01:07 pm »
Ok so here's a sort of beta, tho not much that you haven't seen already.
There's some debugging stuff, such as when you hold 2nd in-game and a couple other things.  Don't feel like taking them out just yet :P

Before ticalc I need to do a few more things:
 - Fix remnants of weird program flow  (done)
 - Pause (done)
 - [+]/[-] change contrast (done)
 - More elaborate message than just "WIN" at the end (done)
 - HighScore saving, plan on having archived appvar (done)
 - possibly name w/ score as well?
 - Some way to save the current game (done)
 - Teacher Key (done)
 - Readme (done)
 - Possibly optimize for size (done)
« Last Edit: February 25, 2012, 03:12:01 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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: Switch
« Reply #11 on: January 30, 2012, 09:50:45 pm »
So I've been playing around with the sprites a bit, and now I'm not sure which one I like better...
The only difference between them is the two sprites (light and selector), everything else is the same.

Edit: figured I may as well post a beta to go with the screenie.  So...

All new controls are in-game
Mode==pause
+ / -==change contrast
clear==quit
2nd==debug stuff I still haven't taken out
Alpha==also debug?  idk, it slows down the program to show scanlines

The exec has the 3*3 sprites I'm thinking about, you can prolly find the part in the source where you move the comment block dots to use the old ones :P
Speaking of which I went through and commented some stuff in the source.

Also shiny Paused/You Win things.

« Last Edit: February 02, 2012, 08:13:03 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: Switch
« Reply #12 on: January 31, 2012, 11:48:33 am »
Black screen. I can't leave the program. :/
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

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: Switch
« Reply #13 on: January 31, 2012, 02:20:22 pm »
At what part are you getting the black screen?  Did it change the contrast or something?
Vy'o'us pleorsdti thl'e gjaemue

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: Switch
« Reply #14 on: February 01, 2012, 12:08:28 pm »
Got game saving and High score saving working last night.  Still testing to see if I can trigger any bugs :P

I think I got what was the darkened screen, I'm not exactly sure why but I'm thinking the part where it gets the contrast level was skipped somehow, leaving some weird value in the variable I have it Shade() to.
Vy'o'us pleorsdti thl'e gjaemue