[2D Game] BomberX [CubeScript]

[2D Game] BomberX [CubeScript]

Postby [RM]Temka » 06 Jan 2014, 15:29

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
 
    Image    Image    Image
User avatar
[RM]Temka
 
Posts: 39
Joined: 27 Sep 2012, 21:44

Re: [2D Game] BomberX [CubeScript]

Postby RaZgRiZ » 06 Jan 2014, 16:28

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)
User avatar
RaZgRiZ
 
Posts: 15
Joined: 25 May 2013, 23:17

Re: [2D Game] BomberX [CubeScript]

Postby TristamK » 06 Jan 2014, 16:55

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 ?
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: [2D Game] BomberX [CubeScript]

Postby RaZgRiZ » 06 Jan 2014, 17:15

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.
User avatar
RaZgRiZ
 
Posts: 15
Joined: 25 May 2013, 23:17

Re: [2D Game] BomberX [CubeScript]

Postby Unnamed » 06 Jan 2014, 17:21

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 :(
Unnamed
 
Posts: 189
Joined: 05 May 2013, 18:16

Re: [2D Game] BomberX [CubeScript]

Postby TristamK » 06 Jan 2014, 18:20

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
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: [2D Game] BomberX [CubeScript]

Postby RaZgRiZ » 06 Jan 2014, 18:24

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.
User avatar
RaZgRiZ
 
Posts: 15
Joined: 25 May 2013, 23:17

Re: [2D Game] BomberX [CubeScript]

Postby TristamK » 06 Jan 2014, 19:00

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
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: [2D Game] BomberX [CubeScript]

Postby RaZgRiZ » 06 Jan 2014, 19:14

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 :)
User avatar
RaZgRiZ
 
Posts: 15
Joined: 25 May 2013, 23:17

Re: [2D Game] BomberX [CubeScript]

Postby TristamK » 06 Jan 2014, 19:43

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.
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: [2D Game] BomberX [CubeScript]

Postby [RM]Temka » 07 Jan 2014, 15:06

RaZgRiZ, nice to know I'm not alone :)
 
    Image    Image    Image
User avatar
[RM]Temka
 
Posts: 39
Joined: 27 Sep 2012, 21:44

Re: [2D Game] BomberX [CubeScript]

Postby Ulukai » 07 Jan 2014, 15:52

Haha, you guys are crazy :p
I guess I mean that in a good way ;)
User avatar
Ulukai
 
Posts: 741
Joined: 19 Mar 2011, 10:55
Location: Mechelen, Belgium

Re: [2D Game] BomberX [CubeScript]

Postby Unnamed » 09 Jan 2014, 20:07

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
Unnamed
 
Posts: 189
Joined: 05 May 2013, 18:16

Re: [2D Game] BomberX [CubeScript]

Postby [RM]Temka » 09 Jan 2014, 20:22

Impressive :D
 
    Image    Image    Image
User avatar
[RM]Temka
 
Posts: 39
Joined: 27 Sep 2012, 21:44

Re: [2D Game] BomberX [CubeScript]

Postby qreeves » 10 Jan 2014, 01:07

ROFL. Nice.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: [2D Game] BomberX [CubeScript]

Postby Julius » 10 Jan 2014, 08:07

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?
User avatar
Julius
Community Moderator
 
Posts: 3297
Joined: 06 Dec 2009, 14:02

Re: [2D Game] BomberX [CubeScript]

Postby [RM]Temka » 10 Jan 2014, 08:28

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 :)
 
    Image    Image    Image
User avatar
[RM]Temka
 
Posts: 39
Joined: 27 Sep 2012, 21:44

Re: [2D Game] BomberX [CubeScript]

Postby RaZgRiZ » 12 Jan 2014, 20:39

[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 :)
User avatar
RaZgRiZ
 
Posts: 15
Joined: 25 May 2013, 23:17

Re: [2D Game] BomberX [CubeScript]

Postby RaZgRiZ » 12 Jan 2014, 20:48

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
User avatar
RaZgRiZ
 
Posts: 15
Joined: 25 May 2013, 23:17

Re: [2D Game] BomberX [CubeScript]

Postby qreeves » 13 Jan 2014, 09:51

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).
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: [2D Game] BomberX [CubeScript]

Postby Ulukai » 13 Jan 2014, 11:25

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.
User avatar
Ulukai
 
Posts: 741
Joined: 19 Mar 2011, 10:55
Location: Mechelen, Belgium

Re: [2D Game] BomberX [CubeScript]

Postby qreeves » 13 Jan 2014, 12:30

Even more random idea: mini-game that gives out random perks or modifications for the next round.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: [2D Game] BomberX [CubeScript]

Postby TristamK » 13 Jan 2014, 16:28

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
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: [2D Game] BomberX [CubeScript]

Postby greaserpirate » 13 Jan 2014, 21:17

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 )

Friendship is Magic Voice Chat Mod
(Map) Trespass
(Map) Suspended
Find out more about >DOOM< here: www.redoomclan.tk
User avatar
greaserpirate
 
Posts: 350
Joined: 22 Jun 2011, 18:23

Re: [2D Game] BomberX [CubeScript]

Postby freezurbern » 13 Jan 2014, 22:27

YES YES YES I LOVE WHERE THIS IS GOING
Red Eclipse username: skiingpenguins
freezurbern
 
Posts: 29
Joined: 08 Sep 2013, 16:12
Location: East Coast, USA

Who is online

Users browsing this forum: No registered users and 1 guest