Love 2D Tutorial | Introduction | Make games on a smartphone

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

ความคิดเห็น • 86

  • @ayushchaudhary2200
    @ayushchaudhary2200 2 ปีที่แล้ว +6

    I'm a web developer........and wanted to learn love2d because I'm very passionate about programming and this tutorial helped me a lot. Thanks!

  • @papa_roar
    @papa_roar 3 ปีที่แล้ว +4

    I am 3D developer and I'm interested in making 2D games
    I would love to see some 2D runner game tutorial from you brother
    Keep it up
    Love from U.P

  • @rodolfoc.nascimento6301
    @rodolfoc.nascimento6301 4 ปีที่แล้ว +10

    Eu finalmente consegui configurar o love 2D no celular,Thanks!

    • @ItsCiaPro
      @ItsCiaPro 4 ปีที่แล้ว

      Ele é inglês

    • @salomzim
      @salomzim 4 ปีที่แล้ว +1

      @@kkaleff180 magina o cara xinga e ele da coração lkk

    • @blaster_myth
      @blaster_myth 4 ปีที่แล้ว

      Google translator

    • @salomzim
      @salomzim 4 ปีที่แล้ว

      @@blaster_myth google tradutor é horrivel

    • @blaster_myth
      @blaster_myth 4 ปีที่แล้ว

      @@salomzim tlgd kkkk, acabei de fazer um codigo igualzinho o dele, só que eu adicionei uma função extra, eu fiz um codigo de pontuação e toda vez que o "Circulo" chega no final ele volta e baixa os pontos. Agora só falta eu aprender um código que permita clicar no "Circulo" e fazer ele sumir antes que os pontos baixem

  • @zambaplays5060
    @zambaplays5060 5 ปีที่แล้ว +9

    Earned a sub man
    Also spreading the löve. (no pun intended)

  • @jetspray3
    @jetspray3 ปีที่แล้ว +1

    You could have done a setup video to show how you install the apps .

  • @cromebuk2958
    @cromebuk2958 2 ปีที่แล้ว +2

    ❤❤❤❤❤❤❤❤

  • @aryankotru3096
    @aryankotru3096 4 ปีที่แล้ว +2

    creative!

  • @Mugen2024
    @Mugen2024 4 ปีที่แล้ว +3

    thanks, but as i can study programming, i'm not used to it yet.

    • @NagiDev
      @NagiDev  3 ปีที่แล้ว +1

      Even I use it only for simple prototyping or when I don't have a computer nearby

  • @pythonpydroid4908
    @pythonpydroid4908 4 ปีที่แล้ว +2

    Please when i input the code on droid and wanted to run it on the lua engine ,everything was just dark.what happened please?

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว

      Can you please show your code? Maybe you aren't drawing anything in your code?

  • @drkmgoswami3042
    @drkmgoswami3042 4 ปีที่แล้ว +3

    How to export love2D game made in Android to apk means on play store

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว +1

      You would need to build it using Gradle, you can check out the official documentation for the detailed process

    • @drkmgoswami3042
      @drkmgoswami3042 4 ปีที่แล้ว +2

      Can you show me how to do this on android

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว

      @@drkmgoswami3042 As I've stated on my latest video, there is no proper way to to compile a love2d project on Android, you will need a PC to do that, unfortunately. However, you can use this framework as a prototyping tool, or wait a little more for my game engine review on android, that will be posted soon on the channel.

  • @AbhishekGupta-ot6ww
    @AbhishekGupta-ot6ww 4 ปีที่แล้ว +3

    Bro it is showing error

  • @brendodasilvacbueno4462
    @brendodasilvacbueno4462 3 ปีที่แล้ว +2

    Gostei

  • @Abinashdash17
    @Abinashdash17 5 ปีที่แล้ว +3

    plz share your main.lua file in description.

    • @NagiDev
      @NagiDev  5 ปีที่แล้ว

      Abinash Dash you can check the description, I'll add a link to the GitHub repo hosting the code for this tutorial series. Although I do not have the code for this particular video. Apologies, bro.

  • @fflightstamil2816
    @fflightstamil2816 4 ปีที่แล้ว +3

    Bro saying Error
    Syntax error: main.lua:2: ')' expected near ' 400'
    Traceback
    [C]: at 0x70befbad04
    [C]: in function 'require'
    [C]: in function 'xpcall'
    [C]: in function 'xpcall'

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว

      please check if you missed a ) on the second line in your main.lua file

  • @anindyaroythetechmaster
    @anindyaroythetechmaster 4 ปีที่แล้ว +3

    Hey I want to use a part of this video as a part of my own video. Can I? I will give credit

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว

      Sure thing! As long as you give credit, no big deal!

  • @AbhishekGupta-ot6ww
    @AbhishekGupta-ot6ww 4 ปีที่แล้ว +8

    Error
    Syntax error: main.lua:4: 'end' expected (to close 'function' at line 1) near ''
    Traceback
    [C]: at 0x7073df0d04
    [C]: in function 'require'
    [C]: in function 'xpcall'
    [C]: in function 'xpcall'

    • @AbhishekGupta-ot6ww
      @AbhishekGupta-ot6ww 4 ปีที่แล้ว

      What this mean

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว +1

      It means you either missed putting an end at the end of main function, or mispelled end

    • @neithancrack7649
      @neithancrack7649 3 ปีที่แล้ว

      @@NagiDev I put end in every function bro I promise

    • @neithancrack7649
      @neithancrack7649 3 ปีที่แล้ว

      @@NagiDev and it still happens

    • @NagiDev
      @NagiDev  3 ปีที่แล้ว

      @@neithancrack7649 can you send me the code? I might be able to help you out

  • @fflightstamil2816
    @fflightstamil2816 4 ปีที่แล้ว +3

    Bro please how to setup main .lua

    • @fflightstamil2816
      @fflightstamil2816 4 ปีที่แล้ว +1

      Bro help me

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว +2

      In DriodEdit, make a new empty file and save it as main.lua in the said folder, and you should be good to go :)

    • @fflightstamil2816
      @fflightstamil2816 4 ปีที่แล้ว +1

      Bro thanks bro but I want other engines mobiles also thanks for the content

    • @fflightstamil2816
      @fflightstamil2816 4 ปีที่แล้ว +1

      No game screen only shown

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว +1

      @@fflightstamil2816 I'm planning on making a video soon

  • @box_1126
    @box_1126 2 ปีที่แล้ว +1

    i know its 3 years ago but how do i run my main.lua to love2d? i can click the main file to open it to love2d but it just says "no game screen" how did you make it so when you open love it automatically opens the script you made?

    • @NagiDev
      @NagiDev  2 ปีที่แล้ว

      hey... box, if my memory serves well you need to put the main file in lovegame folder (I'm not sure, maybe the name of the folder is something else) and that folder should be in the internal storage of your phone.

  • @khushimestry1302
    @khushimestry1302 4 ปีที่แล้ว +1

    Hey hello
    I followed the steps given by you in the video but Im continuously getting a message at the code editor that the file is not saved... What can I do?

    • @NagiDev
      @NagiDev  4 ปีที่แล้ว +2

      it looks like you've put your lovegame folder in your sd card, either that or your app doesn't have permission to access the storage. I suggest you check if your phones internal storage has a lovegame folder containing your code files.

  • @neithancrack7649
    @neithancrack7649 3 ปีที่แล้ว +1

    Can I have a link for your ball.png?

    • @Yan-zg8us
      @Yan-zg8us 2 ปีที่แล้ว +3

      That sounded really sus🤨

  • @trashdrawingghost7843
    @trashdrawingghost7843 2 ปีที่แล้ว +1

    It's only showing a black box (ithink my screen is not big enough to see the text and the image any way to fix it?)

    • @NagiDev
      @NagiDev  2 ปีที่แล้ว

      You can change the position to see if the text is being rendered or not. If so, try scaling the components to fit the screen. Look at the Love2D documentation for info regarding scaling. Good luck!

    • @trashdrawingghost7843
      @trashdrawingghost7843 2 ปีที่แล้ว

      @@NagiDev Okay thank you!

  • @mathdev2680
    @mathdev2680 3 ปีที่แล้ว +1

    How can I find the internal storage?

    • @NagiDev
      @NagiDev  3 ปีที่แล้ว

      I don't think there is a proper way of accessing the internal storage through Love2D. There's a lot of restrictions when it comes to Android, best you can do is access your project files, like I've shown in some of my videos, or access the folder assigned to Love2D on runtime, I usually use it for savefiles, etc. P.S. as far as I remember, the folder can be accessed the same way as your project folder. I'm terribly sorry I haven't touched Love2D in a long time so my knowledge is a bit rusty. :-/

  • @queenDoWebnamoro
    @queenDoWebnamoro 4 ปีที่แล้ว +1

    Thanks bro

    • @queenDoWebnamoro
      @queenDoWebnamoro 4 ปีที่แล้ว

      @@kkaleff180 Só pesquisar na própria play store "love2d" aí você instala o que tiver um coração azul e vermelho sla, é fácil

    • @queenDoWebnamoro
      @queenDoWebnamoro 4 ปีที่แล้ว

      @@kkaleff180 Você tem um gerenciador de arquivos? Baixe algum se não tiver, então, crie uma pasta chamada exatamente: "lovegame" e faça seu projeto dentro dessa pasta, ou cole os arquivos dentro dessa!
      Assim que executado, irá rodar.

    • @queenDoWebnamoro
      @queenDoWebnamoro 4 ปีที่แล้ว

      @@kkaleff180 o seu projeto terá que terminar sempre em ".Lua"
      Exemplo " projetoDeTal.Lua"
      Para rodar!

    • @queenDoWebnamoro
      @queenDoWebnamoro 4 ปีที่แล้ว

      @@kkaleff180 Não precisa, ele é só um editor de textos, você pode usar qualquer um! Inclusive se você quiser, pode usar esse.

    • @NagiDev
      @NagiDev  3 ปีที่แล้ว

      If only I knew Portuguese :`)

  • @idvplh9748
    @idvplh9748 4 ปีที่แล้ว +3

    It is just me who didn't get that?

  • @elemadepp7745
    @elemadepp7745 4 ปีที่แล้ว +2

    Important: if u make error in code then this app could not work

  • @haxidenti6001
    @haxidenti6001 ปีที่แล้ว

    There is no instruction how to run :(

  • @molhamsyrian456
    @molhamsyrian456 3 ปีที่แล้ว +1

    How to export to apk ???

    • @NagiDev
      @NagiDev  3 ปีที่แล้ว +1

      You'll have to use a PC for that. Check one of my older replies, there is no way of exporting to apk through an android phone, at least one that I know of. :-/

  • @bestapps4709
    @bestapps4709 6 หลายเดือนก่อน +1

    Is it possible generate APK and install in cellphone buddy?❤ #JapaneseFastFluency ❤

    • @NagiDev
      @NagiDev  6 หลายเดือนก่อน +1

      I think you can only do that if with a PC :/

    • @bestapps4709
      @bestapps4709 6 หลายเดือนก่อน +2

      I found this video th-cam.com/video/DFsSwAhSdVE/w-d-xo.htmlsi=iKLrtjN46SygnHz4 and I'm going to test if it's real. #JapaneseFastFluency ❤

  • @trashdrawingghost7843
    @trashdrawingghost7843 3 ปีที่แล้ว +1

    Does it support java?

  • @pichitosmalltown3239
    @pichitosmalltown3239 4 หลายเดือนก่อน

    Love2d doesnt load any script do you have a workaround

    • @NagiDev
      @NagiDev  4 หลายเดือนก่อน

      I'm really sorry, I haven't worked with Love2D for a long time.

  • @premierthings3087
    @premierthings3087 5 ปีที่แล้ว +3

    How i get the main.lua file

    • @NagiDev
      @NagiDev  5 ปีที่แล้ว +1

      PREMIER techie You need to open a new file in DroidEdit and save it as main.lua file in the lovegame folder in your phone's internal storage

  • @ALPatingitGaming
    @ALPatingitGaming 4 ปีที่แล้ว +1

    or make games in a chromebook >.>

    • @NagiDev
      @NagiDev  3 ปีที่แล้ว

      (╯°□°)╯︵ ┻━┻

  • @skellyskillerqueen
    @skellyskillerqueen 4 หลายเดือนก่อน

    it's showing "NO GAME"