Worklog for GameScrubs
Worklog 1
Return to Worklogs| 
 | ||
| I updated the game where I removed the recording system and the button 
configuration where now it uses the new MaxGui Executable to make those 
settings. I'm currently working on the new system to validate the chord notes vs single, hammer on, pulloffs and long notes. Hopefully I can test it tonite and have it working. http://www.gamescrubs.com | 
| 
 | ||
| I modified the game where I used my first MaxGui application to record the keys for the song of the game. It allows you to import or edit and existing song. Record new keys for the song Play the song and the keys so you can see how it recorded Save ability of the keys to be used on the game Set the buttons to the controller Upload the keys to GameScrubs.com Should have it downloadable this week. ( ^_^) http://www.gamescrubs.com | 
| 
 | ||
| I released the beta version of the game.  You can play one crappy song I made, with some simple keys to showcase what it does. http://www.gamescrubs.com | 
| 
 | ||
| Type JoyButtonHit
	Field JoyButtonHitItemList:TList 	= New TList
	Field LastButtonPressed:buffer 		= New buffer
	
	Method Pressed(ButtonID:Int,ButtonTime:Float)
                Local a:buffer 	= New buffer	
		a.id 			= ButtonID
		a.time 			= ButtonTime
		LastButtonPressed = a
		
		
		JoyButtonHitItemList.AddLast(a)
								
		If  CountList(JoyButtonHitItemList) > 20  Then JoyButtonHitItemList.RemoveFirst() 		
	End Method 
	
	Method gotHIT:Int(ButtonID:Int,ButtonTime:Float=0,Recovery:Float=500)
		Local b:buffer
		Local ok:Int = 1		
		
	
		For b = EachIn JoyButtonHitItemList                
			If b.id = ButtonID Then
				If b.time + Recovery > ButtonTime Then			
					ok = 0 
					Exit		
				EndIf  
			EndIf
		Next
				
		Return ok
	End Method 
	
End Type
Type buffer
	Field id:Int
	Field time:Float
End Type
' Somewhere on your code Field jButtons:JoyButtonHit = New JoyButtonHit If JoyDown(4,0) Then If jButtons.gotHIT(JoyDown(4,0),MilliSecs(),500) = True Then ' Process any Hit Actions Else ' Process any Button Hold EndIf jButtons.Pressed(JoyDown(4,0),MilliSecs()) EndIf http://www.gamescrubs.com |