Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently November 7th, 2024, 8:14 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Creating a Barrier
PostPosted: August 15th, 2007, 3:49 am 
Offline

Joined: August 15th, 2007, 3:39 am
Posts: 2
Hi! I'm creating a game for a school project but I don't know how to create barriers so that my character doesnt walk outside of the page. I've tried a lot of actions and the most successful one was when a hotspot encouters my character, the character will bounce back so it doesn't pass but then sometimes when I press it a lot of times it starts flying to the otherside of the page =/ Is there a better and simple way since I don't know to script and stuff. Please help me! :x :cry: I'm using Opus Pro 5.5

EDIT: just an example of my game. I don't know how to make it so my character doesn't pass the blue hotspots.

http://img265.imageshack.us/img265/2115/barrierai5.jpg


Last edited by rhaps0dy on August 15th, 2007, 3:09 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: August 15th, 2007, 7:33 am 
Welcome to the forum.

Would it be possible to attach an example of what you are trying to do? That might produce suggestions that are more relevant to your challenge.


Top
   
 
 Post subject:
PostPosted: August 15th, 2007, 7:51 am 
Offline

Joined: January 10th, 2005, 11:08 am
Posts: 63
Location: Birmingham, United Kingdom
Opus: All between ver Pro XE 4.5 and Ver 9.62
OS: Windows XP Pro SP3
System: Intel Core2 Duo 2.67Ghz, Matrox Millennium G550 dual head graphics card
I assume you are looking for 'collision detection' and would recommend you have a look in the Tutorial section of the forum at the post titled 'Bouncing Ball - Part 1'. This shows how to detect that an object has reached a pre-set 'edge' and reverses its direction.

_________________
Andy Thompson
Opus Pro XE 4.5, Pro 5.5, Ver 6, Ver 7, Ver 8.6, Ver 9.62
Windows XP Pro on an Intel Core2 Duo 2.67Ghz with a Matrox Millennium G550 LP PCIe dual-head card.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: August 15th, 2007, 3:35 pm 
Offline

Joined: August 15th, 2007, 3:39 am
Posts: 2
thanks for the suggestions. My game is very basic though, I'm just using keyboard controls and I'm trying to not use scripting


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group