Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Are bullets possible?  (Read 2783 times)

0 Members and 1 Guest are viewing this topic.

highkingtorygg

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile
Are bullets possible?
« on: September 30, 2015, 05:11:00 AM »

Is it possible to make a line from the character to the cursor to offscreen? or just draw a line when you press a button and check if it is intersecting with anything? Or move a character/object from the PC to the cursor(and beyond, if possible) and check for the same? Or does it do the AGS thing where it is almost literally impossible to get a gun to work outside of bad action sequences?
Logged

eborr

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Are bullets possible?
« Reply #1 on: October 01, 2015, 10:39:44 AM »

apart from the AGS bit, which I cannot answer since I don't know the software, then  the simple answer to all of your questions would be yes.

However the coding would be quite tricky, because you would have to code it in the same way as you would code for collision detection in any general purpose programming language, there is some functionality which will allow you to GoTo specific objects.

If you are looking for the type of functionality to support arcade type activity that exists in GameMaker for example then it's not in WME, it's a different type of engine
Logged
 

Page created in 0.033 seconds with 23 queries.