Page 1 of 2

[2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 15:29
by [RM]Temka
Description:
At this moment I am developing 2D game. At current state this game have some half-worked mechanic. I think it will be possible to create a 2d game creator on Cube Script. For example at this possible to create game like tetris or pac-man.

History:
Plucking enough experience , I thought that the cube script has never been done 2D game , and I wanted to demonstrate the possibilities that has a cube script . It is not limited to the console , it is quite Software based language in a simplified form that is easy to learn.

Screenshots:
6No5OC4.jpg
Green regeneration and maze

aOeoNBQ.jpg
New blocks

Bwc39Sg.jpg
Level design

All screenshots : http://imgur.com/a/KobqE ( Chronology of the game as proof )

Download :
Note: At this point, the game is under ALPHA version and updating depending on my mood.

Alpha 12 : https://www.mediafire.com/?m119ig9avarn1l7

How to run :
1. Add bx folder to the main folder RE
2. Write on console /exec bx/start.js

P.S. I just want to show that the cube script is capable of doing such things .
P.S.S. Do cube script great potential, but few want to develop it yet .

F.A.Q.
Q: Why do almost all of the files in the .js extension ?
A: Cube script still in what Extender files .js chosen because syntax color coding that is convenient for me to view and edit

The game was created : 23 November 2013

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 16:28
by RaZgRiZ
Hello, and welcome to cubescript for game development :P

I've already made 2 games in cubescript, one of which is Hangman, and the other is Minesweeper.
I also have a Tetris wip but i am facing certain problems with rotation and side collision which have hindered its progress.

There is also a chip8 emulator that graphitemaster ported to cubescript. It's operational and displays graphics but it's massively slower and not exactly perfect.

You can see all of them in these links:

Hangman:
https://www.dropbox.com/s/twr5kuvqr9v1q ... .03.21.png (standalone, white color theme)
https://www.dropbox.com/s/36pjl1b2jtlqc ... .03.18.png (relies on game menus, follows menu theme)

Minesweeper:
https://www.dropbox.com/s/7o9ubqlj00zpq ... .00.30.png (newest picture i have)
https://www.dropbox.com/s/3d2dtzl4ethiv ... .16.03.png (slightly oudated theme compared to first)
https://www.dropbox.com/s/ltzq3zxv0vztw ... .16.31.png (same as before, shows different board size)

Tetris:
https://www.dropbox.com/s/czwxp2cl0kiv3 ... .59.21.png (you can see the debug messages for collision: cell position in tetromino square, cell position in board, if it collides with settled cell, FAIL, undo move, settle tetromino)

Chip8 Emulator:
https://www.dropbox.com/s/bjuvil8bozytd ... .51.11.png (projectile collision seems off, aliens don't move down or bounce off the walls etc)

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 16:55
by TristamK
RaZgRiZ {l Wrote}:Chip8 Emulator:
https://www.dropbox.com/s/bjuvil8bozytd ... .51.11.png (projectile collision seems off, aliens don't move down or bounce off the walls etc)

Chip-8 ??? Crazy. :shock:
Are this emulator emulate ram and all registers fine ?
Edit 1 : did you tried look on chip-8 games sources ?

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 17:15
by RaZgRiZ
TristamK {l Wrote}:
RaZgRiZ {l Wrote}:Chip8 Emulator:
https://www.dropbox.com/s/bjuvil8bozytd ... .51.11.png (projectile collision seems off, aliens don't move down or bounce off the walls etc)

Chip-8 ??? Crazy. :shock:
Are this emulator emulate ram and all registers fine ?
Edit 1 : did you tried look on chip-8 games sources ?


Technically it's chip8 source code from working emulators converted to cubescript. But something's wrong somewhere and not everything is ok. But games boot and some work fine.

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 17:21
by Unnamed
This is funny :D
Maybe I will remake some of the games wich I made for my pocket calculator. It is some years ago when I was in school, mostly during english and german lessons ;)

RaZgRiZ {l Wrote}:I also have a Tetris wip but i am facing certain problems with rotation and side collision which have hindered its progress.

yeah, I know these problems as I also made a Tetris game. I got it working in the end, but I used a bit too many if commands for the weak cpu of the calculator and the framerate was about 2 :(

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 18:20
by TristamK
RaZgRiZ {l Wrote}:Technically it's chip8 source code from working emulators converted to cubescript. But something's wrong somewhere and not everything is ok. But games boot and some work fine.

Hm. Are this thing released somewhere ?
Unnamed {l Wrote}:Maybe I will remake some of the games wich I made for my pocket calculator.

Something like this ?)

youtu.be/5EMX8qIgWOs

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 18:24
by RaZgRiZ
Unnamed {l Wrote}:This is funny :D
Maybe I will remake some of the games wich I made for my pocket calculator. It is some years ago when I was in school, mostly during english and german lessons ;)

RaZgRiZ {l Wrote}:I also have a Tetris wip but i am facing certain problems with rotation and side collision which have hindered its progress.

yeah, I know these problems as I also made a Tetris game. I got it working in the end, but I used a bit too many if commands for the weak cpu of the calculator and the framerate was about 2 :(


I got a solution that solves all problems with rotations but the problem lies with how the tetromino square that encompasses the tetromino cells itself collides with the sides. Since the position of that box is a projection calculated by a top-left-corner offset, either side may have 1 or 2 empty columns. So the tetromino square collides with the side at the expected place, but its cells (in case of an I tetromino in vertical position) may be 1 or 2 columns to either side.
This means i have to calculate empty tetromino columns from either side of the square and apply those as limits to left/right moves. It also means i have to break up the offset into two parts, vertical and horizontal offset. But doing so messes up with the rest of the collision calculation, and it's one big mess of DOs and DONTs. Not to mention that i'd have to invent wall kicks for when you rotate when hugged to the wall so that the tetromino will go back into the boundaries and not come up partly from the other side of the board.


TristamK {l Wrote}:
RaZgRiZ {l Wrote}:Technically it's chip8 source code from working emulators converted to cubescript. But something's wrong somewhere and not everything is ok. But games boot and some work fine.

Hm. Are this thing released somewhere ?


Check my sig for what you seek. They SHOULD be up to date :P
Although, all of the screenshots you saw are taken from Tesseract, the games were realised in its UI. Sorry, no RE for you :p
Me and graphitemaster also attempted converting an schip8 emulator. It's at least 4 times slower (because of the increased resolution) and while it boots, it only displays gibberish, we've no idea why.

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 19:00
by TristamK
RaZgRiZ {l Wrote}:Check my sig for what you seek. They SHOULD be up to date :P
Although, all of the screenshots you saw are taken from Tesseract, the games were realised in its UI. Sorry, no RE for you :p

oops, didn't notice..
I have installed tes already, and I had time to try and do somethings for it, so it's not problem. :)
Click click
About chip-8 emu, code looks very simple, some things to me even know

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 19:14
by RaZgRiZ
TristamK {l Wrote}:I have installed tes already, and I had time to try and do somethings for it, so it's not problem. :)
Click click

Ohh, yes, now i remember. I played the last one :P
To tell the truth, your races are more like platformers for time-trial, since they're rather narrow for lots of players :)

Re: [2D Game] BomberX [CubeScript]

PostPosted: 06 Jan 2014, 19:43
by TristamK
RaZgRiZ {l Wrote}:Ohh, yes, now i remember. I played the last one :P
To tell the truth, your races are more like platformers for time-trial, since they're rather narrow for lots of players :)

:)
Map can always be wider
But here can be a problem in balance between speed and amount of players and look of map. If player move fast (like in my defrag mod) so problem with narrow platforms is disappears but in tes player move very slow and it imposes some restrictions.

Re: [2D Game] BomberX [CubeScript]

PostPosted: 07 Jan 2014, 15:06
by [RM]Temka
RaZgRiZ, nice to know I'm not alone :)

Re: [2D Game] BomberX [CubeScript]

PostPosted: 07 Jan 2014, 15:52
by Ulukai
Haha, you guys are crazy :p
I guess I mean that in a good way ;)

Re: [2D Game] BomberX [CubeScript]

PostPosted: 09 Jan 2014, 20:07
by Unnamed
TristamK {l Wrote}:
Unnamed {l Wrote}:Maybe I will remake some of the games wich I made for my pocket calculator.

Something like this ?)

I had a better calculator than in the video, but I used the script language it supports. It has no good commands to display something so it should be easy to make the games I made run in cube script :D


Here is a tower defense game I made for RE:
screenshot.0101.jpg

download td

Re: [2D Game] BomberX [CubeScript]

PostPosted: 09 Jan 2014, 20:22
by [RM]Temka
Impressive :D

Re: [2D Game] BomberX [CubeScript]

PostPosted: 10 Jan 2014, 01:07
by qreeves
ROFL. Nice.

Re: [2D Game] BomberX [CubeScript]

PostPosted: 10 Jan 2014, 08:07
by Julius
Nice stuff, I wasn't aware that Cubescript is capable of stuff like that... but it is pretty much limited to the GUI though, right?

Re: [2D Game] BomberX [CubeScript]

PostPosted: 10 Jan 2014, 08:28
by [RM]Temka
Cube script is quite a programming language, it is easy to learn, and content, all without too much, of course it is not as global as other languages​​, but some of it can be done, as you can see. I advise you to go to http://quadropolis.us/ where there are lots of useful cube scripts, fashion written on it. If you saw my Color Chat Mod you can make sure that it does without GUI interface :)

Re: [2D Game] BomberX [CubeScript]

PostPosted: 12 Jan 2014, 20:39
by RaZgRiZ
[RM]Temka {l Wrote}:Cube script is quite a programming language, it is easy to learn, and content, all without too much, of course it is not as global as other languages​​, but some of it can be done, as you can see. I advise you to go to http://quadropolis.us/ where there are lots of useful cube scripts, fashion written on it. If you saw my Color Chat Mod you can make sure that it does without GUI interface :)


Indeed it might be, but if you ask real programmers about it they'll only tell you how much it sucks in many regards, primarily in terms of speed over any actual programming language :P
One major flaw would be the lack of variable types for example.

I really like it though. Both its coding style and the way it operates. I only hope it will keep evolving :)

Re: [2D Game] BomberX [CubeScript]

PostPosted: 12 Jan 2014, 20:48
by RaZgRiZ
Unnamed {l Wrote}:Here is a tower defense game I made for RE:
screenshot.0101.jpg


Impressive. The game logic seems more than i can currently wrap my head around. Did you make it or follow some sort of tutorial about it? There's not exactly any comments in there so nothing explains what is going on :P

Re: [2D Game] BomberX [CubeScript]

PostPosted: 13 Jan 2014, 09:51
by qreeves
This is all actually pretty cool. Maybe we could offer a selection of games to play at intermission after you vote (quick games to pass the time).

Re: [2D Game] BomberX [CubeScript]

PostPosted: 13 Jan 2014, 11:25
by Ulukai
qreeves {l Wrote}:This is all actually pretty cool. Maybe we could offer a selection of games to play at intermission after you vote (quick games to pass the time).

Hey nice idea! :D
+1 to only offer them AFTER voting, if not it might take away the focus on voting.

Re: [2D Game] BomberX [CubeScript]

PostPosted: 13 Jan 2014, 12:30
by qreeves
Even more random idea: mini-game that gives out random perks or modifications for the next round.

Re: [2D Game] BomberX [CubeScript]

PostPosted: 13 Jan 2014, 16:28
by TristamK
qreeves {l Wrote}:Even more random idea: mini-game that gives out random perks or modifications for the next round.

Alternatively won of the game can allow reborn in the same round in survivor mode

Re: [2D Game] BomberX [CubeScript]

PostPosted: 13 Jan 2014, 21:17
by greaserpirate
Hacking minigame for Defend? :twisted:

You know, you could make a real-life Tower Defense type of thing. Just have an onslaught-gauntlet match, and have several doors throughout the map behind which are turrets and grunts. In Omega's base there will be a control panel where you can open and close doors, but only a limited number at a time. (Or, you could just play Unvanquished :p )

Re: [2D Game] BomberX [CubeScript]

PostPosted: 13 Jan 2014, 22:27
by freezurbern
YES YES YES I LOVE WHERE THIS IS GOING