Capture The Car: Global Game Jam 2016 Version Mac OS

I recently had a nice, month long holiday in South Africa. Apart from affording me some well deserved downtime and a “castaway-like” beard, this meant I was also able to get quite a lot done on my re-working of “Cosmosis” (my original iPhone/iOS app) using the Unity engine. This time the game will be developed for just about every platform out there – one of the best features of the Unity engine! Being a re-write from the ground up, this has meant I have also been adding a lot of new features and new systems to my Unity 2D space shooter (shmup) project.

This post covers the work I did on a new weapon – the “arc laser”. Here is a quick demo of a short burst fire on the laser:

Game

Bonus 0h Game Jam. Also happening this week was 0h Game Jam! Just in case you don’t know what 0hr Game Jam is, it’s a game jam that happens right as daylight savings time ends. You have one hour to make a game the hour before the clocks reset an hour. This means that from 2am until 2am, you have 1 hour to make a game (in 0 hours). Watch free NBA video highlights, news, and analysis. Also, explore NBA TV & League Pass subscriptions to watch live games on your favorite devices.

Currently, once the laser is picked up, you get around 10 seconds worth of firing out of it. After this it runs out and you switch back to your primary cannon fire (or your primary cannon fire plus rockets if you had previously collected that weapon). The laser also features a small animation on the player’s ship, which is the laser arc cannon mount point, which pops out as you start firing. This needs a little bit of tweaking as the position is slightly out at the moment.

  • A game jam is a period of crunch time, i.e., the context requires the participants to focus the available time on a ctivities that directly provide value for the final game and skip everything.
  • Enrollment: Limited. The Global Game Jam (GGJ) is the world's largest game jam event taking place around the world at physical locations. Think of it as a hackathon focused on game development. Participants will work in teams of 4-5 to develop dynamic autonomy software to race a converted RC car equipped with LIDAR, a.
  • Screencheat is a ridiculous competitive split-screen first-person shooter where everyone is invisible, so players are forced to look at each other’s screens in order to win. Supporting both local and online multiplayer, combat in Screencheat is fast and furious with a wide variety of one-hit kill weapons.

Here is how I achieved the laser effect for anyone interested:

  • Two line renderers, one with a small transparent PNG texture with a gradient going from light to darker blue. Each line renderer is attached to a gameobject on the player’s ship
  • The primary beam line renderer has two points, and a 2D collider. When the beam fires, in code I set each point of the line renderer according to the player’s position, and a point off screen. I also activate the collider which is disabled by default.
  • The secondary line renderer is what I use to achieve the arcing effect. This has around 20 points, which I manipulate using the Mathf.Sin function. (See further below).
  • When firing, a float value is tracked, and the deltatime from the game’s update loop is subtracted from this to determine how much more “ammo” your laser has. Once it runs out, the line renderers are disabled and the weapon removed.
  • Taking your finger off the trigger so to speak also results in the line renderers and the collider being disabled (along with the sound effect for the laser).
  • Damage is applied to enemies when the laser’s collider hits them. Of course, damage needs to be incremental, rather than once off like other projectile weapons are, so a timer is used to damage enemies based on how much time they spend colliding with the laser beam.

Here is the basic code I use to manipulate the points on the arcing laser beam, giving them the animated effect you see above:

Well, that covers the laser weapon update. There are plenty more changes that have been made recently, so I’ll have to cover those off in another post!

User: I tried to redeem the key below from the extension menu. The process started and after a while, I got an error message that the installation of code editor failed. Clicking off of that, I got a message that the key was redeemed successfully. Going back to the pages, they still are not being displayed properly and there are no code editor options.
Then I reinstalled the latest version of Mobirise. There was a difference in version numbers. I think it went from .8 to .15 . After the installation, I got the same error message that the version of code editor needed to be upgraded. Starting the program, it loads the project but going into pages menu, the pages are still not displayed properly. I then tried to redeem the key from the extensions menu. Again, it started and stopped with the code editor failed and the redeemed successfully message. Going back to the extension menu and scrolling down to the bottom, there was an entry for the code editor extension with an update button. Clicking that starts the update process which stops with an error message 'extract error'Code Editor' (1301)).' There is also a message displayed when hovering over the extension icon that says 'Not compatible with your version of Mobirise'.

Global Game Jam 2014


User: Try to reinstall the app:
1. Export the projects so you could restore them later.
Version
2. Deinstall the app through Revo uninstaller software ( use free trial ) + you'll need a different program if you have a MAC.
3. Go here - %LOCALAPPDATA%Mobirise.com (for Windows) or here - ~/Library/Application Support/Mobirise.com/ (for MAC) and delete this
4. Install the latest version of Mobirise from our official website - https://mobirise.com/

Ludum Dare

5. Use the same account in the app to be able to install your extensions.

Capture The Car: Global Game Jam 2016 Version Mac Os X

6. Restore your projects through 'Import' feature.