Member Avatar

Okay, so I would like to say in advance, thank you for the help. With that said, I am having an extraordinary amount of trouble with some code. So here it is: function school_user_exists($school_user = false, $school_id = false) { if($school_user || $school_id) { $school_user = sanitize($school_user); $school_id = (int)$school_id; $query = mysql_query("SELECT COUNT(`logs_id`) FROM `school_logs` WHERE `school_user` = '$school_user' AND `school_id` = '$school_id'"); return (mysql_result($query, 0) == 1) ? true : false; } else { echo 'Something is amiss!'; } } function logs_id_from_schooluser($school_user = false, $school_id = false) { if ($school_user || $school_id) { $school_user = sanitize($school_user); $school_id = …

Member Avatar
+0 forum 7
Member Avatar

Hey guys! I've started writing a 2d platformer game some days ago, and I'm really enthusiastic about it, but I already failed to live up to my own expectations: I just cannot possibly think of a way I could make my character jump. I used the MVC desing is why, and now I'm looking for some help. I made a [thread](http://www.gamedev.net/topic/629260-coding-jump-for-a-2d-python-game/) at gamedev.net, which contains some code. I appreciate the reading, and any help you can give!

Member Avatar
+1 forum 1
Member Avatar
Reusable Code Snippet MIPS I Collection Tools

Figured I've been working on material for a while and would throw these up for everyone that needs them in the future to use. It's very simple implementation; if I get enough people asking me to, I will write the methods for each of the instructions so you don't have to do it yourselves. I know Jump and Link was hard enough for me. :) Welcome, Jamie

Member Avatar
+0 forum 3
Member Avatar

Hello, I would like your opinion on my collision detection & jumping code. Is it efficient enough to be used in a full-blown game? Any ideas on how I could improve the efficiency of the code? Any bugs? Please reply with (constructive) criticism, comments & suggestions. Link: http://dl.dropbox.com/u/56274235/Working%20Collision%20Detection%20%26%20Jump.zip Thank you for your time.

+0 forum 0
Member Avatar

Am Super new to php so please be nice. :D Here is the code: [code=php] <form name="form" id="form"> <div align="center"> <select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)"> <option value="#" selected="selected">Episode List</option> <option value="episode001.php">Episode 01</option> <option value="episode002.php">Episode 02</option> <option value="episode003.php">Episode 03</option> <option value="episode004.php">Episode 04</option> <option value="episode005.php">Episode 05</option> <option value="episode006.php">Episode 06</option> <option value="episode007.php">Episode 07</option> <option value="episode008.php">Episode 08</option> <option value="episode009.php">Episode 09</option> <option value="episode010.php">Episode 10</option> <option value="episode011.php">Episode 11</option> <option value="episode012.php">Episode 12</option> </select> </div> </form> <p align="center" class="style3">&nbsp;</p> <p align="center" class="style3">[/code] Am trying to make it so when you click on "Episode 01" It will take you to "http://www.mysitehere.com/subfolder/subfolder1/subfolder3/episode001.php" , how does one come to make this work? …

Member Avatar
+0 forum 2
Member Avatar

Hey I am making a game and i can make the character jump, but i am trying to make the character land on an object. I am trying to do this with object collision but im not sure how. My code for jumping for an image with a certain height is below. I was trying to do it when the character jumps to a certain height and collides with an object, its new location on the screen will be on top of the object but i am not sure how to add that in. any suggestions would be great. [CODE]//METHOD …

Member Avatar
+0 forum 1
Member Avatar

Hello everyone I have a hard time making this work.. I have some data that i wish to sort by date , and i would like to sort them asc and desc using a jump menu. I know that within the jump menu i have to call 2 queries to the database (asc and desc) but i came to the conclusion that i dont know how to do that. Please im begginig for you help :)

Member Avatar
+0 forum 6
Member Avatar

Hi all, I'm creating different pages on a website for each branch in the country for a business. The way the user gets to their branch is through a dreamweaver generated jump menu. My question is: Will search engine robots crawl the pages that are linked via the jump menu? So for example the page for the London branch can only be navigated to via the jump menu (or typing in the url in the address bar). Will a search engine index this page? The jump menu script is below: [CODE]<script type="text/javascript"> <!-- function MM_jumpMenuGo(objId,targ,restore){ //v9.0 var selObj = null; …

Member Avatar
+0 forum 4

The End.