- Game Maker Community
- → Viewing Profile: Topics: Cookeh
Cookeh
Member Since 08 Feb 2012Offline Last Active Apr 03 2012 08:47 AM
Community Stats
- Group New Member
- Active Posts 16
- Profile Views 722
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Version
GM8
Topics I've Started
Load ingame
02 April 2012 - 11:34 AM
heya, my game is starting to get quite large and I was thinking; how can I reduce the loading times? I thought to all those commercial games, where they have loading screens in the middle of games. Is there any way to do one of those? Because everything takes super slow to load at the start. I have tried compacting it to the most by changing every action to code [someone told me that they are less memory than D&D] using scripts, timelines and sprites that equal to like 10 different objects.
Splitting code
02 April 2012 - 10:00 AM
is there a way to split code and if there is how do i split code?
example:
see, using spikeVar is a local variable so I can't access it from obj_enemy. Also, putting that code into the player1 object will destroy all enemies.
example:
//in player1 object
if spikeVar = true
//split code here; transfer to enemy object
{instance_destroy()}see, using spikeVar is a local variable so I can't access it from obj_enemy. Also, putting that code into the player1 object will destroy all enemies.
[Solved]
02 April 2012 - 08:22 AM
So, my powerups are all set up but everytime i create a new one I have to edit like 10 objects so that they all have the same code. I don't understand what Parent objects are and I think that they will make this easier? Can someone explain what a parent is to me please?
EDIT: Figured it out.
EDIT: Figured it out.
Chance
02 April 2012 - 12:28 AM
Well, my game is going smoothly now with help but I can't figure chance out.
In a minigame, there are three powerups scattered across the map and there is a total of six powerups. How can I make it choose randomly which powerups spawn?
In a minigame, there are three powerups scattered across the map and there is a total of six powerups. How can I make it choose randomly which powerups spawn?
Cut string
01 April 2012 - 03:36 AM
Hello there, I seem to be making a utility in game maker, but whatever.
When I try to input a name for a person, If the amount of characters exceeds 10 then how do i stop it.
I haven't tried this code but:
When I try to input a name for a person, If the amount of characters exceeds 10 then how do i stop it.
I haven't tried this code but:
size = string_length(string)
if size > 10
{
size = 10
}will this work?
- Game Maker Community
- → Viewing Profile: Topics: Cookeh
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content