CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: c4ooo on August 15, 2015, 12:39:55 AM

Title: [ti-basic]Lazer I: bringing attention to an old game.
Post by: c4ooo on August 15, 2015, 12:39:55 AM
Cross posted from omnimaga(original (https://www.omnimaga.org/ti-z80-calculator-projects/(ti-basic)-lazer-i-bringing-attention-to-an-old-game/msg400884/#msg400884))
Download here (http://www.ticalc.org/archives/files/fileinfo/459/45934.html)
Ages ago, when i got my first calc in algebra, i made a game (and missed many lessons on quadratic equations, (but then again i can just make a program to solve those things for me :P) ). It was a laser simulater/puzzle game written in pure basic. When i got my own calc a few months ago, as i had been inactive for more then half a year, i decided to polish up the old game and start making a new version in axe. The game was previously only available on ticalc.org . Link: http://www.ticalc.org/archives/files/fileinfo/459/45934.html
The ticalc entry has more screenshots plus a read me, and i will quote the readme here:

A fun game-position  mirrors to bounce a laser(s) and hit the target(s). current version (v 0_45) includes emitters, detectors, mirrors , walls , and portals!!!
HOW TO PLAY:
1) use keypad and [enter] to select play.
2) use keypad and [enter] to select the level.
3) now finaly you can actualy play!!
4) here are the controls:
keypad-move
[enter]-shoot
[clear]-rotate mirror
[2nd]-retry/reset level
[alpha]-level selection
___  ___  ________  ___      ___ _______           ________ ___  ___  ________   ___  ___  ___       
|\  \|\  \|\   __  \|\  \    /  /|\  ___ \         |\  _____\\  \|\  \|\   ___  \|\  \|\  \|\  \     
\ \  \\\  \ \  \|\  \ \  \  /  / | \   __/|        \ \  \__/\ \  \\\  \ \  \\ \  \ \  \ \  \ \  \     
\ \   __  \ \   __  \ \  \/  / / \ \  \_|/__       \ \   __\\ \  \\\  \ \  \\ \  \ \  \ \  \ \  \   
  \ \  \ \  \ \  \ \  \ \    / /   \ \  \_|\ \       \ \  \_| \ \  \\\  \ \  \\ \  \ \__\ \__\ \__\   
   \ \__\ \__\ \__\ \__\ \__/ /     \ \_______\       \ \__\   \ \_______\ \__\\ \__\|__|\|__|\|__|   
    \|__|\|__|\|__|\|__|\|__|/       \|_______|        \|__|    \|_______|\|__| \|__|   ___  ___  ___
                                                                                       |\__\|\__\|\__\
                                                                                       \|__|\|__|\|__|
                                                                                                     

screenshot: (more screenshots at link)
(http://www.ticalc.org/archives/files/ss/866/86622.gif)
Once again, this is an old game made by me only now brought to omnimaga(and now CW)!  :thumbsup:
I made a demo vid for this!
Title: Re: Lazer I: bringing attention to an old game.
Post by: Dream of Omnimaga on August 15, 2015, 12:51:08 AM
Ooh I think I remember seeing that version on ticalc.org a while ago. I think Builderboy made one as well, but I don't remember if it was different. I need to check it out soon. :) By the way, what did prevent the game from running on older OSes? Did you use the clock or MathPrint-only features?
Title: Re: Lazer I: bringing attention to an old game.
Post by: c4ooo on August 15, 2015, 01:16:19 AM
Quote from: DJ Omnimaga on August 15, 2015, 12:51:08 AM
Ooh I think I remember seeing that version on ticalc.org a while ago. I think Builderboy made one as well, but I don't remember if it was different. I need to check it out soon. :) By the way, what did prevent the game from running on older OSes? Did you use the clock or MathPrint-only features?

I don't know If builder boy made one or not, but I originally got the idea from a person named Jeremiah Macdonald. Although I have his youtube chanal I have not bean able to track him on omni/ceme/cw ect. Also person who goes under the alias "Wolfgang Rutherford"  on ticalc claims to have bean inspired by my game to make his own version. AFAIK it is the most completed basic version of the idea. *shrugs*.

As for older OSs, I was using the remainder() command, which I learned the hard way is only on newer calcs. A planned patch will fix that.
Title: Re: Lazer I: bringing attention to an old game.
Post by: Dream of Omnimaga on August 15, 2015, 01:38:31 AM
Aah right, I never heard of that person. Also now that I remember, Builderboy's game wasn't really a laser game, but it was a bit inspired by that type of game: http://www.ticalc.org/archives/files/fileinfo/433/43385.html

And I see about the remainder. If I remember, you can do it in pure BASIC without that command. I'm unsure if it's as fast, though.
Title: Re: Lazer I: bringing attention to an old game.
Post by: c4ooo on August 15, 2015, 05:21:33 AM
Quote from: DJ Omnimaga on August 15, 2015, 01:38:31 AM
Aah right, I never heard of that person. Also now that I remember, Builderboy's game wasn't really a laser game, but it was a bit inspired by that type of game: http://www.ticalc.org/archives/files/fileinfo/433/43385.html

And I see about the remainder. If I remember, you can do it in pure BASIC without that command. I'm unsure if it's as fast, though.
Well you obviously can, after all it's just math :P but it would most likely be slow. The good thing is, I can avoid them altogether :)
Title: Re: Lazer I: bringing attention to an old game.
Post by: Unicorn on August 15, 2015, 07:27:01 AM
Yeah, 83+ support is usually good to have. A lot of the community like the SE of the 83+, including me.
Title: Re: [ti-basic]Lazer I: bringing attention to an old game.
Post by: Snektron on August 15, 2015, 02:10:03 PM
Cool idea :D i think i though about some laser thing toosometime, but never had the motivation to make it.
Title: Re: Lazer I: bringing attention to an old game.
Post by: Unicorn on August 15, 2015, 08:46:19 PM
Motivation is everything, isn't it?
Title: Re: [ti-basic]Lazer I: bringing attention to an old game.
Post by: c4ooo on August 16, 2015, 02:49:39 AM
Bump. Topic has bean cross posted to CW and Cemetech.
I am looking for level designers to design five levels for this game. As I plan to reuse levels from lazer 1 in lazer 2 you will be credited in both games.
Here are the requirements:
     The level must fit onto a 6 by 6 tile board.
     The level should contain a healthy mix of tiles.
     The level should be challenging.
     The level can contain several emitters, but beware, they can couse lag.
Here is a list of tiles:
     Air: just air.
     Mirror: can be spun by the user, reflects lazers. One of the stats a user can set the mirror to is a "null" state, meaning the lazer will pass through the mirror with out reflection.
     Emitter, when the user presses the fire button all emitters will simultaneously fire a lazer. The emitter can fasecup , down, left, or right.
     Detector: when all detectors are hit with a lazer the user wins the level. They can be hit from all sides.
     Box: blocks a lazer. If hit, the user fails the level.
     Portals can teleport the user to any arbitrary tile. Portals do not have to "linked"
Other:
     Hitting the edges of the map is an automatic fail.
     Lazers can only travel in four directions: up, down, left or right. They can not travel diagonally.
    A lazer can still be traveling across the board when you win, just all detectors have to be hit.
Title: Re: Lazer I: bringing attention to an old game.
Post by: Unicorn on August 16, 2015, 04:48:00 AM
I could do that, but you make need to release some sort o a level editor so we can tear out the levels we make....
Title: Re: [ti-basic]Lazer I: bringing attention to an old game.
Post by: c4ooo on August 16, 2015, 06:37:19 AM
Quote from: Unicorn on August 16, 2015, 04:48:00 AM
I could do that, but you make need to release some sort o a level editor so we can tear out the levels we make....
Just take some graph paper. Make arrows emitters, X-s detectors, ones(lines) mirrors and portals circles. That's how every single level was made. ;) Also because the level data is hard coded it would be hard to make a level edited. How ever one is planed for lazer 2
Title: Re: [ti-basic]Lazer I: bringing attention to an old game.
Post by: Snektron on August 16, 2015, 10:15:12 AM
Well, i made a Letter editor for the CSE for hardcoded letterdata too. (With the CSE's format it's just impossible to do from your head <_<)
Title: Re: [ti-basic]Lazer I: bringing attention to an old game.
Post by: c4ooo on August 17, 2015, 08:22:01 PM
Personally I don't feel it's worth the effort. I just want to get done with this as fast as possible and move on to lazer 2 and other projects.

Speaking of getting done, I decided to allocate myself 3 days to rewrite some major portions of the game, making it faster and better. Here is a changeling:
1) some redesigned menus.
2) lasers now travel 9 pixels (one tile) at a time.
3) you can now see the level name when selecting the level.
4) much internal stuff
5) five new levels are planned (come on guys!)
And here is a teaser:
(http://m.imgur.com/ydEetQI.png)
It shows a "wavy laser", a bug caused by me forgetting to change a number in line of code that draws the laser.
Edit; the text on the paper is there to focus the camera.
Title: Re: Lazer I: bringing attention to an old game.
Post by: Dream of Omnimaga on August 18, 2015, 05:05:35 AM
Lol at first I thought it was some sort of obstacle, not laser. It looks cool actually :P. Hopefully you can fix the issue, though.
Title: Re: Lazer I: bringing attention to an old game.
Post by: Unicorn on August 25, 2015, 03:51:55 AM
Indeed, looks good. I'll try to find time making levels, but I have to catch up on posting, among other things.
Title: Re: Lazer I: bringing attention to an old game.
Post by: Dream of Omnimaga on August 26, 2015, 06:04:29 AM
Regarding level making, you have to understand that if there is no user-friendly and non-tedious way (per other people's standards) to create them, then it's possible that no one will bother making any. Most people have a life, school and other activities that limits their free time to a minimum.

It's up to you to require people to make levels that way, though. I'm just warning based on what I've seen in the past.
Title: Re: Lazer I: bringing attention to an old game.
Post by: alexgt on August 26, 2015, 01:09:46 PM
I remember when I saw this on Ti-Calc and played it then I made a lazer sim myself but a RAM clear quickly deleted it <_<

Could I make a version for the prime in the future?
Title: Re: [ti-basic]Lazer I: bringing attention to an old game.
Post by: c4ooo on August 26, 2015, 06:54:13 PM
Hmm hmm.. Thanks all for the feedback/ support!  :D I will officially release lazer 1.1 and lazer 2.1 on September the first!
@DJ Omnimaga , thanks, the bug was an easy fix  ;) I see what you are saying, and I will repeat, I will eventually make a level editor, just not for lazer 1.
@alexgt hmm, so are you the "Wolfgang Ruthford" person in ticalc?  (-_(//)); (idk if I am using that smily correctly lol). I guess you can make an hp prime version, after all, I never came up with the idea in the first place, but got it from some guy named Jeremiah Macdonald ;)
Title: Re: Lazer I: bringing attention to an old game.
Post by: Dream of Omnimaga on August 27, 2015, 12:30:40 AM
Good luck finishing the game. I can't wait :)

And an HP Prime port would definitively be cool. :)
Title: Re: Lazer I: bringing attention to an old game.
Post by: alexgt on August 27, 2015, 02:50:27 PM
Nope I am still alexgt on ticalc and the only thing that I released there was Jarvis 1.0 Basic.

Thanks for the permission to make a Prime version, I will probably start when I have Nagoji 20x15 under way more (20x15 was changed from 320x240)
Title: Re: Lazer I: bringing attention to an old game.
Post by: Unicorn on August 28, 2015, 07:04:29 AM
Maybe you should finish sifs and mineprime first. :P
Title: Re: [ti-basic]Lazer I: bringing attention to an old game.
Post by: c4ooo on September 07, 2015, 11:50:43 PM
I have worked (through several minor ram clears :D ) to update the game :D The new features include:

v1.1:
+New key mappings (forgot to mention in README)
+Optimization
+5 levels
+New Menus
+Lazer now moves one tile (9pxls) at a time.
+lazer 2 advert :P

Thanks you for the support, download here: http://www.ticalc.org/archives/files/fileinfo/459/45934.html
:D :D :D :D :D :D :D :D :D
Thank you for the support and stuff  :love:
Here are some images from the new update:
[spoiler]
(http://i.imgur.com/eCQXlBM.gif)
(http://i.imgur.com/PbcHyzS.gif)
(http://i.imgur.com/heN8X2X.gif)
(http://i.imgur.com/bsNoQvM.gif)
[/spoiler]
Title: Re: Lazer I: bringing attention to an old game.
Post by: Dream of Omnimaga on September 08, 2015, 01:55:21 AM
Nice update. The graphics looks quite cool for such game.:)
Title: Re: Lazer I: bringing attention to an old game.
Post by: c4ooo on September 08, 2015, 10:42:15 AM
Quote from: DJ Omnimaga on September 08, 2015, 01:55:21 AM
Nice update. The graphics looks quite cool for such game.:)
Thankyou dj. Unfortunately ticalc.org is still pending the file, so only the older version can be downloaded :(
Title: Re: [ti-basic]Lazer I: bringing attention to an old game.
Post by: c4ooo on October 23, 2015, 11:43:48 PM
Well, it seems as i has been a month since the last post here... so yea... i made a youtube vidio for this:
Title: Re: Lazer I: bringing attention to an old game.
Post by: Dream of Omnimaga on October 24, 2015, 03:01:36 PM
Ok I'll check later. You should avoid using the Youtube tag since it doesn't work well with the site in https mode. Instead, just paste the https video URL and it will display like with the tags.

I really need to try this game in the near future. I was just too tired lately . x.x