I love video games. In the next few months, Iām gonna be dropping by in here cause I need coding info cause my info is scattered all over the place. So much so, I need to start from step 1, but I know how to do step 4 and 5 (does that make sense? I dunno).
Nice work. That reminds me, I worked on a Tetris Attack-style game that I havenāt touched for years. I should grab that old code and do something with it.
thanks guys, when I started I thought this would be a straight forward project but enough of a challenge to sink my teeth in, itās actually been a lot harder than I imagined. I thought it would get easier the nearer completion but itās been the opposite
If you donāt mind me joining that pm convo, i have little experience with making games but who knows, maybe i can help and if not i can learn something
Iām currently a UX/UI designer, but started off as a developer. Over the years I got more into the design side because my sites, while extremely functional, werenāt up to my aesthetic standards. After finishing school, I planned on finding something that allowed me to code and design.
Boy was I wrong.
Hiring managers look at you as if youāre insane when they see code and design on the same resume. Some assume itās just HTML/JS/JQuery, but when asked and I tell them I had a background in C++, wrote my own version of MS Paint in Java, etc they had no idea what to do with me.
Eventually, I just chose to start looking on the design side since companies treat their dev teams like garbage (overall).
Memories. :s
I remember learning linked lists and that was me the entire time.
Anyone interested in software engineering 343 Industries just uploaded their Sprint series for the making of Halo5 onto youtube
Video links here - Halo Thread: Games, TV, Movies and Books
#1 This thread isnāt the help Don code thread, so I didnāt want to clutter the thread with multiple posts. #2 I have no idea who you are #3 If there was something worth sharing I would have shared it publically.
IF Projectile == mortalKombatCharacter AND streetFighterCharacter OR streetFighterCharacter AND streetFighterCharacter
BEGIN
Projectile(Cancel)
ELSE
Projectile(!Cancel)
END
No fatalities unless fatalities are turned on at the menu screen. The MK fatalaties such as Scorpionās āToastyā would be like a Super or Ultra. Shang Tsungās Ultra and Super would be like U.Rugalās soul Super in Capcom VS Snk 2ā¦any other ideas?
Does anyone know how to print out values from an object in the console?
Iām trying to debug my game, I thought it might be really helpful if I could display the content of the 2D array.
The array contains block objects, a block has various values, the one I require is the colour value which tells me what texture has been applied to the block. These colour values range from 1 to 8.
//java code
public static void SystemOutArray(){
try{ //try catch
for(int row = 0; row < blockArray.length; row++){ //row of the table
for(intcol = 0; col < blockArray[row].length; col++){ //column of the table
System.out.print(blockArray[row][col].getColourValue() + " "); //get colour value of block stored within the array print each value and separate by a single tab
}
System.out.println(); //at the end of the row start a new line
}
}catch(Exception e){System.out.println("Array is empty");} //if error catch error and print message
}
This code only produces the āArray is emptyā message
If I remove the getColourValue() I have the contents of the array displayed in my console however because there are block objects, blocks are represented as a random string of characters eg. ācom.mygame.blockgame.Block@75998f71ā, empty spaces are correctly displayed as ānullā.
you get a more accurate message than āarray is empty.ā Off the top of my head Iām donāt know why that method isnāt returning what you want it to but that exception message should hopefully point you in a direction to look. If you donāt get anything useful out of that let us know.
Atleast Iām pretty sure thatās right. I havenāt written java for a couple months ^^;
Yeah youāll want to to the e.printStackTrace or something similar, so you can see what the actual error message is. Must be a null pointer issue or something