Sort by:
View:
  • Home
  • Archive by Category "coding"

Category: coding

http://gamedesignstorm.com/wp-content/uploads/2015/07/155637-960x640_c.jpg

72 Hour Game Jam – Bed Time, Lights Out


I never expected myself to join in on a game jam and make it all the way to the end in just one weekend. The days were endless, it felt, yet the goal seemed so close. I spent nearly 16 hours each day trying to complete the game before midnight on Sunday. It was a rush, music and sound were added right in the last 3 hours, sounds were added in the last 40 minutes; time passed too fast. I live streamed the entire event and you can always stop by my channel for more development and game play! For now, come check out the amazing game created in this time span! Please, take the time to vote ūüôā

Game Jam Page

http://jams.gamejolt.io/indiesvsgamers/games/bed-time-lights-out/80749

Overview:

You play as a child stuck in a horrid nightmare that he can’t escape after he killed his parents. See the nightmares of a child through the lens this game offers! The creepy, dark levels, impossible bosses, and strange enemies will keep you playing over and over*.

*one game-breaking bug causes the game to crash when you lose all of your lives unfortunately (could not get the last build in time). The only way to submit a high score is to beat the game (extremely difficult)!

Screenshots

155636155637155638155634 155635

Credits

Art and Design

  • Joshua Long
  • DomeKid
  • Vampy3k
  • Vavexporis

Design & Development

  • Joshua Long

Music

  • Vampy3k

Twitch.tv Users (Game Design)

  • Vavexporis
  • Vampy3k
  • DomeKid
  • Bakertime1433
  • Smurfmuffin69
  • LegitGamez60
  • Derptrollz
  • Rubiks14
  • Tomlab1
  • Ateliure
  • Killercobra
  • Pandaman33
  • Austinh115
  • J_Dwraith
  • Linkon18
  • illusiveEdge
  • Donplonex
  • DetectiveNiko
  • KarRuptAssassin

Quick Fix: Dragging Icons/files Stopped Working?


Problem

You can’t drag/drop files/folders in Windows 7.

Solution

This sounds too simple to work, but it worked for me:

  1. Find an affected icon.
  2. Click and HOLD the icon with the Left mouse button.
  3. Press Esc while holding the Left mouse button.

Conclusion

That’s it!¬† This was driving me crazy.¬† It had nothing to do with registry entries or anything else.¬† Simply a failed Drag & Drop operation that hadn’t exited.¬† Even restarting had only worked temporarily, so I suspect my Esc key may have been stuck down or at least the system thought it was!

My particular variant of this problem seems to stem from a failed filed transfer over to Filezilla. Now, this might happen on accident, so I felt it would be something to share.

Credits to: https://social.technet.microsoft.com/Forums/windows/en-US/c2ddd224-bcc4-45a5-8ada-5c3d767a3881/dragging-iconsfiles-stops-working-on-desktop-and-in-explorer?forum=w7itproui

http://gamedesignstorm.com/wp-content/uploads/2014/07/orbit-960x607_c.png

GMK: Studio – Code Snippet: Orbit


I know it’s been a long time since my last post…I just haven’t had anything to write about! So, with that, I am going to share my recent creation..because I couldn’t find what I needed elsewhere…at least in a simple piece of code.

Code Snippet: Orbiting
Engine: Game Maker: Studio
https://www.yoyogames.com/studio

In your rotating object’s CREATE event, drag over an, “Execute Code” block and type:

// Setup the orbiting object’s variables
pDir = 0; // Where the orbiting object starts (0-360)
pDistance = 100; // The distance from the main object this orbits
pSpeed = 1; // Speed of the orbit

In your rotating object’s STEP¬†event, drag over an, “Execute Code” block and type:

// Set the movement of your orbiting object
x = [yourObject].x + lengthdir_x(pDistance, pDir)
y = [yourObject].y + lengthdir_y(pDistance, pDir)

// Based on which direction you want, you can use +/- when adding the speed
pDir += pSpeed;


I hope that this helped anyone looking for some orbiting planets, buffs, or tornadoes in the future!

Cheers,
Joshua Long

http://gamedesignstorm.com/wp-content/uploads/2013/01/2w370uw-960x720_c.jpg

VB.net Programming: Code Snippet – Bring Form to Front



(I know that code above isn’t vb.net)


Introduction
Hello everyone, I decided to post this code snippet in my blog because I could not find it anywhere else! This is something super simple, yet not obvious because everyone skirts around the actual problem. Let me break this down and get started for you.

Problem
You have TONS of windows generated from your project, yet you give the user the option to rename the forms. How do you select and bring a user-created form to the top so they don’t have to dig through everything?

Solution
Dim frm As Form = My.Application.OpenForms.Item(cmbTimers.SelectedIndex + 1)
frm.TopMost = True
frm.TopMost = False

Let me explain a little on how to implement this code. First, we have to create a new variable to store the form we are looking for. In my code example, I am searching for the name of a timer (renamed by the user) using a combo box. I populate the combo box and keep it updated when the user changes the name of their form, so this makes searching easier. You can use list boxes, arrays, etc. to store the form names for later use.

My.Application.OpenForms.Item(INDEX) gives us the chance to search the forms created in a specific order. So, every time a form is created, make sure you are storing the name somewhere in the list that you have. frm.TopMost = True makes the form come to the front, and frm.TopMost = False makes sure the form does not ALWAYS stay on top.

DONE!

Conclusion
But, Josh, why would you post this on the internet? It seems so useless and easy! My answer to that is, I had to create this because I could NOT find this anywhere else on the internet after hours of searching. I had to search the documentation, and NO ONE, I repeat, NO ONE wants to do that. Enjoy!

Menu

%d bloggers like this: