CoHack - An Open Source Turn-Based Strategy Game

0 favourites
From the Asset Store
A well commented RPG game template to learn from or use as a base for your own game!
  • I believe plugins have compatibility issues with exporters such as CocoonJS and/or node-webkit, so I try to strictly use vanilla C2 as much as possible. I realize the move-to plugin is known to work on a variety of platforms, but I am trying not to use it unless I have to.

  • Agreed, what I meant by move to was

    set position to x,y

    which moves token at speed of light to x,y position.

    I tried the "move to" plugin, and like it very much, but didn't use it because of same logic (compatibility) and the pathfinding option complicates things considerably. Overkill for a board game.

    I am using mathematics on image points to move token at this stage, not ideal, but working currently.

    Won't work for your setup as you want random layout not structured like mine.

    But, I will follow your thought process cause it would be nice to have randomized board option down the road. Never play same board twice - lol.

  • UPDATE: I've fixed my program parts orientation issues. If anyone has some free time, please download the .capx and move some programs around and take any screenshots of small discrepancies (too many pixels to the left, etc.) and I will take care of them. I intend to stress test everything when I get more time, but any help is appreciated <img src="smileys/smiley1.gif" border="0" align="middle" />

  • When you Select Your pieces there is no "spawn" on button.

    dropbox.com/s/zpxmy199iqviwc7/boardgame1.png

    Don't know if this is what you are after, had to do it a few times to re-create, but you can block your own piece.

    dropbox.com/s/q4wid6bs1n10y6p/boardgame2.png

    I love the trail left behind as piece moves - Wow, love it!

  • When you Select Your pieces there is no "spawn" on button.

    https://www.dropbox.com/s/zpxmy199iqviwc7/boardgame1.png

    Are you running Firefox? If so, then Firefox overrides the text settings with its own and sometimes this means 'Spawn' and other text are just too big for their sprite object sizes to be shown. For example, the screenshot says 'Choose a program to ' instead of 'Choose a program to spawn:' like in my other screenshots in this thread.

    Ashley, is there any way to override default settings in Firefox?

    Don't know if this is what you are after, had to do it a few times to re-create, but you can block your own piece.

    https://www.dropbox.com/s/q4wid6bs1n10y6p/boardgame2.png

    This is intended in my game. The idea is your programs occupy hard disk space, there is no automatic defragmentation (so no pieces will be teleporting around), and therefore it is possible to block your own pieces.

  • Running Chrome, not firefox, so can't be that and for blocking your own pieces - that is cool if that is intended in your game. Very intrigued - sorry if I can't see the big picture, but I am hooked.

  • I think the same thing happens in Chrome - browser settings for text override the settings I have set in the editor. I think this is also why we're recommended to use sprites or spritefont instead of text, for both compatibility and performance reasons.

    I'm glad to see you like the project! Progress is slow but eventually this will be in a fully playable state!

  • Spritefonts, busy with implementing them into my own game now, jury are still out as to whether I keep them or not. The pros don't outweigh the cons by much, and each has its benefits.

    Cool spritefont generator:

    scirra.com/forum/sprite-font-generator_topic72160.html

    if you go that route

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Initial battle music and sound effects have been added! Let me know what you think!

    As always, you can test everything live here.

  • Initial battle music and sound effects have been added! Let me know what you think!

    As always, you can test everything live here.

    I like the graphics, music, and sound effects. I must have hit a bug - after picking my 3 programs and moving them on the 2nd turn, the computer wouldn't move. The window kept popping up saying it is the computer's turn, but then nothing happened.

    Excited to see more of this as you progress.

  • I like the graphics, music, and sound effects. I must have hit a bug - after picking my 3 programs and moving them on the 2nd turn, the computer wouldn't move. The window kept popping up saying it is the computer's turn, but then nothing happened.

    Excited to see more of this as you progress.

    Not a bug! I haven't created the behavior for the computer turn yet!

  • Did you fix that thing of yours ?

    You totally should change the way your nodes are spawned , and should spawn a directionnal node when the node should be spawned

  • Whiteclaws, I was just about to update!

    Yes, the optimization issues are fixed!!! It took a week and a bit of rethinking of how I was approaching the problem to come up with a easier/better method.

    There are still issues when letterbox scaling is used, but when scaling is turned off, all the parts seem to connect seamlessly.

    <img src="http://i.imgur.com/Bot40kv.png" border="0" />

  • Good then .

  • Out of curiosity I found the original shockwave game.. and I ended up playing it all day..

    The levels are kept interesting with variation and it forces you to experiment with a lot of different tactics...

    cool game

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)