« Next videoPrevious video »

Kha Tutorial Series Episode 078 - open URL

we have opened many things, images, classes, but what about webpages?

start by creating a new project & import ing a few things. we then move on to creating a string pointing to a URL. then we create an on key down function that helps us open a webpage.

lastly we export the project to a HTML5 project & open it in a web browser, finishing it off by pressing the key we set to open the webpage

source code:
https://github.com/lewislepton/kha-tutorial-series

commit source:
https://github.com/Kode/Kha/tree/f3ce91cf9de0d911f065af66f78ecc6858a4b115

SUPPORT ON PATREON FROM AS LITTLE AS $1:
https://patreon.com/lewislepton

intro & outro music is from this EP:
https://lewislepton.bandcamp.com/album/coat-noise-ep

like, share & subscribe to stay up to date.

https://lewislepton.com
https://patreon.com/lewislepton
https://twitter.com/lewislepton
https://facebook.com/lewislepton
https://lewislepton.bandcamp.com
https://soundcloud.com/lewislepton
https://github.com/lewislepton


Date: 2018-02-27

Other videos in 'Kha Tutorial Series'

Episode 088 - creating libraries

Episode 088 - creating libraries

Episode 087 - runner AI

Episode 087 - runner AI

Episode 086 - follower AI

Episode 086 - follower AI

Episode 085 - zui revisit

Episode 085 - zui revisit

Episode 084 - random range

Episode 084 - random range

Episode 083 - lerp

Episode 083 - lerp

Episode 082 - ease

Episode 082 - ease

Episode 081 - delete array entity

Episode 081 - delete array entity

Episode 080 - center position

Episode 080 - center position

Episode 079 - for loop draw

Episode 079 - for loop draw

Episode 078 - open URL

Episode 078 - open URL

Episode 077 - while loop circle

Episode 077 - while loop circle

Episode 076 - tank controls

Episode 076 - tank controls

Episode 074 - rotation revised

Episode 074 - rotation revised

Episode 075 - static variables

Episode 075 - static variables

Episode 073 - video capture

Episode 073 - video capture

Episode 072 - depth refine

Episode 072 - depth refine

Episode 071 - depth

Episode 071 - depth

Episode 070 - volume control

Episode 070 - volume control

Episode 069 - sine cosine

Episode 069 - sine cosine

Episode 068 - pivot point rotation

Episode 068 - pivot point rotation

Episode 067 - screen wrap

Episode 067 - screen wrap

Episode 066b - keycode

Episode 066b - keycode

Episode 066 - keycode

Episode 066 - keycode

Episode 065 - nape shapes drag

Episode 065 - nape shapes drag

Episode 064 - nape shapes impulse

Episode 064 - nape shapes impulse

Episode 063 - nape shapes collision data

Episode 063 - nape shapes collision data

Episode 062 - nape shapes conveyor belt

Episode 062 - nape shapes conveyor belt

Episode 061 - nape shapes material

Episode 061 - nape shapes material

Episode 060 - nape shapes images

Episode 060 - nape shapes images

Episode 059 - nape shapes rotation

Episode 059 - nape shapes rotation

Episode 058 - nape shapes collision fix

Episode 058 - nape shapes collision fix

Episode 057 - nape shapes

Episode 057 - nape shapes

Episode 056 - intro to nape

Episode 056 - intro to nape

Episode 055 - using extends

Episode 055 - using extends

Episode 054 - anti alias

Episode 054 - anti alias

Episode 053 - polygon

Episode 053 - polygon

Episode 052 - graphics one

Episode 052 - graphics one

Episode 051 - android touch

Episode 051 - android touch

Episode 050 - ios touch

Episode 050 - ios touch

Episode 049 - camera

Episode 049 - camera

Episode 048 - collision rectangle

Episode 048 - collision rectangle

Episode 047 - states button

Episode 047 - states button

Episode 046 - states

Episode 046 - states

Episode 045 - kha2d animation flip state

Episode 045 - kha2d animation flip state

Episode 044 - kha2d animation refine

Episode 044 - kha2d animation refine

Episode 042 - install kha2d

Episode 042 - install kha2d

Episode 043 - kha2d animation

Episode 043 - kha2d animation

Episode 040 - kha/kode studio changes

Episode 040 - kha/kode studio changes

Episode 041 - project sound

Episode 041 - project sound

Episode 038 - setup ffmpeg

Episode 038 - setup ffmpeg

Episode 039 - video

Episode 039 - video

Episode 037 - player movement delta

Episode 037 - player movement delta

Episode 036 - delta time

Episode 036 - delta time

Episode 035 - quit

Episode 035 - quit

Episode 034 - bouncingBall

Episode 034 - bouncingBall

Episode 033 - button

Episode 033 - button

Episode 031 - zui toggle

Episode 031 - zui toggle

Episode 030 - zui button

Episode 030 - zui button

Episode 032 - zui radio

Episode 032 - zui radio

Episode 029 - rotation

Episode 029 - rotation

Episode 028 - zui slider

Episode 028 - zui slider

Episode 027 - zui

Episode 027 - zui

Episode 026 - scissor

Episode 026 - scissor

Episode 025 - mouse position

Episode 025 - mouse position

Episode 024 - window options

Episode 024 - window options

Episode 023 - backbuffer

Episode 023 - backbuffer

Episode 022 - player gamepad

Episode 022 - player gamepad

Episode 021 - bounds

Episode 021 - bounds

Episode 020 - player movement

Episode 020 - player movement

Episode 019 - timer

Episode 019 - timer

Episode 018 - create entities using for loops

Episode 018 - create entities using for loops

Episode 017 - translate

Episode 017 - translate

Episode 016 - update

Episode 016 - update

Episode 015 - color

Episode 015 - color

Episode 014 - classes

Episode 014 - classes

Episode 013 - build

Episode 013 - build

Episode 012 - gamepad

Episode 012 - gamepad

Episode 011 - mouse

Episode 011 - mouse

Episode 010 - keyboard

Episode 010 - keyboard

Episode 009 - graphics

Episode 009 - graphics

Episode 008 - sound

Episode 008 - sound

Episode 007 - font & text

Episode 007 - font & text

Episode 006 - scaled images

Episode 006 - scaled images

Episode 005 - drawing shapes

Episode 005 - drawing shapes

Episode 004 - loading an image

Episode 004 - loading an image

Episode 003 - init kha project plus extras

Episode 003 - init kha project plus extras

Episode 002 - updating kha

Episode 002 - updating kha

Episode 001 - setting up everything

Episode 001 - setting up everything

Episode 000 - intro to haxe, kha & future plans

Episode 000 - intro to haxe, kha & future plans


Take the Haxe Survey!